My Graylog server is up and now in configuration stage. I have created several Syslog inputs but unable to start them. When I clicked start input, a message pop up saying “Input BB SW 1 could not be started”. The messages in log show:
Input [Syslog UDP/59c1e66651ed270cca671c18] is now STARTED
Input [Syslog UDP/59c1e66651ed270cca671c18] is now STOPPING
Input [Syslog UDP/59c1e66651ed270cca671c18] is now STOPPED
Input [Syslog UDP/59c1e66651ed270cca671c18] is now TERMINATED
There are some progresses after my last post.
I disabled rest_transport_uri in Graylog configuration file, then input is working for binding address of 0.0.0.0 and 127.0.0.1.
But failed with others. Could you let me know what suppose to be binding address? I thought it should be equipment like switches, routers, firewalls.
you already use port 8514 on BB SW2, with uses 0.0.0.0 as bind address and therefore listens on all IPs your server has. So trying to start BB SW1 will fail since port 8514 is already bound on that IP. Use another port or change the bind address of BB SW2.
@derPhlipsi,
192.168.1.101 and 103 are my switches IP addresses.
So, the bind address should be the equipment (switches, routers, servers) or Graylog server itself?
You don’t need to create an individual Syslog UDP input for each client.
Creating one Syslog UDP input to which all clients can send their messages works fine.
@jochen,
Thank you for your reply. I managed to get it work now.
However, the issue again after I enabled HTTPS. I went through those steps mentioned in http://docs.graylog.org/en/2.3/pages/configuration/https.htm but I got no idea how to proceed with step below: In order for the JVM to pick up the new trust store, it has to be started with the JVM parameter -Djavax.net.ssl.trustStore=/path/to/cacerts.jks. If you’ve been using another password to encrypt the JVM trust store than the default changeit, you additionally have to set the JVM parameter -Djavax.net.ssl.trustStorePassword=secret.
The documentation says in the following paragraph:
Most start and init scripts for Graylog provide a JAVA_OPTS variable which can be used to pass the javax.net.ssl.trustStore and (optionally) javax.net.ssl.trustStorePassword system properties.