Hi all, I have several systems running rsyslog 8.2.0, and sending the log messages to an external central server. As I have many servers running with domain-specific host names, I have set up $localHostName with the full host name (including domain name) so that on the central servers it is easy to distringuish between logs from worker1.env1.company.com and worker1.env2.company.com.
And this works fine. I've recently built new system image with a new current rsyslog, which is now 8.6.0, and there rsyslog behavior is quite interesting:when rsyslog starts, it reports the full host name, but when actual messages start to arrive, they all have just the local part of the host name. I'm using a couple of additional unix sockets (in addition to /dev/log) and if I add relevant $InputUnixListenSocketHostName, then messages from those sockets do have the correct host name - but I can't figure out how to change the host name on the messages from the default /dev/log socket. Also - I would much rather have a single host name definition, as we used for the rsyslog 8.2.0 deployment, than to patch multiple configuration files for each deployment. -- Oded _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

