Re: [rsyslog] central syslog and cisco device hostnames

2018-02-19 Thread David Lang
the first thing to do when you aren't getting what you expect is to log the messages with the template RSYSLOG_DebugFormat so you can see what you have to work with Please post a log message in this format so we can see what you have to work with. It's very possible that the Cisco is not

Re: [rsyslog] central syslog and cisco device hostnames

2018-02-19 Thread deoren
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

Re: [rsyslog] central syslog and cisco device hostnames

2018-02-19 Thread Simon Lundström
You want to use something other than %HOSTNAME%, see the list of properties available at . You might also want to set the hostname on the Cisco switch, search for cisco ios set hostname with your favourite search engine.

[rsyslog] central syslog and cisco device hostnames

2018-02-16 Thread John Ratliff
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? This is my rsyslog.conf file. module(load="imuxsock") # provides support for local system logging