I have one input a syslog-UDP it is working great right now. Question is am I getting all syslog entries from the server(s) sending to Graylog, or am I getting only the UDP syslog messages from the server(s)? Meaning, does each server need both:
TCP is connection-oriented (including handshake and possibly keep-alive packets) while UDP is connection-less.
UDP requires less resources (no connection-tracking etc.) but is prone to losing packets (i. e. log messages) if the network is unstable.
Additionally, using TLS for securing connections requires TCP and doesn’t work over UDP.
Thank you. That helps.
Just about to deploy to all my servers. I did read somewhere there was an issue with Windows Servers sending logs to Graylog, or am I mistaken? Do you have a URL for anything I have to watch out for?
Thanks! Have read so much on Gray Log in the last 3 weeks. You are right, probably have got things a little mixed up. So far the testing is going good. Even managed to change the GrayLog server IP without any major issues (only minor ones from me forgetting to change a conf file)
One more difference of TCP/UDP in syslog context. TCP rsyslog is able to throttle. It can (depending on how you configure it) stop the services it is logging, in order to guarantee that no log messages are lost, in case of e.g. network outages or log server outages. UDP rsyslog has no such configuration possibility.
I am looking at my logs on one of my server, I can see the login information of the fileserver, but not on the graylog server. Do I need to specify all the logs I wish to send to graylog, or can I send them all with :. @@10.10.10.2:8514;RSYSLOG_SyslogProtocol23Format?
Anyone have a sample of that they are using in their rsyslog.conf file to talk to graylog?
What inputs have you created in Graylog?
What’s the configuration of these inputs?
Is Graylog accessible from the machines running rsyslog and sending syslog messages?
Is there a packet filter or firewall blocking packets to the correct Graylog input?
I have created the standard TCP syslog input. That is all I have created thus far. Yes the machine in question is sending the logs as I can see other messages in graylog from that server, just not the login type information. There are no firewalls between the two servers in question
The other messages I am getting are just status updates and some config errors. The messages I am reading in Graylog from my server ‘cloud’ are in the main log table when I go onto ‘cloud’ and view the syslog file. The login information is not in the main log file on cloud, but is in authen-log file
I do not understand, I know packets from ‘cloud’ get to graylog server. I can see lots of entries on my Graylog server from cloud. The only thing I can not see is the logs of people login in and out of the server ‘cloud’. There is also only one graylog server in my set up.
As far as I can see, everything is working as expected.
You have only 1 input in Graylog and rsyslog is sending messages to it which are correctly processed by Graylog (otherwise you couldn’t query anything).
If that’s not the case, please elaborate on your problem (what you expect to happen, what actually happens, all relevant configuration settings and logs).