On 2/16/2018 3:56 PM, John Ratliff wrote:
When my rsyslog server receives packets from our cisco switches, instead of logging it with the hostname, it logs it with the IP address. How can I get rsyslog to use the hostname instead?

See the "how do I override the hostname when forwarding log messages?" thread that I just responded to. There are likely other (better) ways, but I suggested looking at the lookup_table support in rsyslog if your device list can be built programmatically or is of reasonable size to maintain by hand.
rsyslog mailing list
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 

Reply via email to