[rsyslog] forwarded rsyslog messages is getting localhost added instead of hostname

2022-10-27 Thread Naveenkumar MH via rsyslog
Hi, We have a problem where a client syslog forwarded a message to the syslog server, is getting *localhost* instead of the actual *hostname* in the logs. *Example;Expected:* Oct 27 17:33:46 *testclient1* *Getting:* Oct 27 17:33:46 *localhost* Here, we are forwarding the logs from client

Re: [rsyslog] forwarded rsyslog messages is getting localhost added instead of hostname

2022-10-27 Thread Naveenkumar MH via rsyslog
section into your config, what's in the > global > section doesn't matter, but if there isn't one, hostname gets set > incorrectly. > It's possible that RedHat backported this bug accidently. > > David Lang > > On Thu, 27 Oct 2022, Naveenkumar MH via rsyslo