[syslog-ng] hostname not appearing correctly when receiving logs from switches
aces621 at yahoo.com
Mon Apr 30 23:05:18 UTC 2018
I am pretty new to syslog-ng but do have some basic knowledge. I have deployed syslog-ng v3.14 on a newly deployed Linux server because syslog-ng v3.5 is working very well on another syslog server.
On this new deployment, the syslogs received from most of the servers are able to show IP/host, however, the syslogs from our switches contains IP/host showing as ":" (colons). I copied the current working custom build .conf from another syslog server into our new server. Can someone help me figure out what I am missing? It is working for some components but not for switches. I tested the same switch by sending syslog to another syslog server and the hostname is appearing but just not appearing on the new syslog server. The only difference between the two server is that one uses v3.5 (the working one) and the other uses syslog-ng v3.14.
I have set: "keep_hostname (yes)" but it still doesn't work.
Can someone please help? Am I missing something here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the syslog-ng