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* <Test message>
*Getting:*
Oct 27 17:33:46 *localhost* <Test message>
Here, we are forwarding the logs from client to server via UDP port to TCP
port. Seems during handoff time from UDP to TCP, its getting localhost.
*Other Details:*
1. Platform(VM) : RHEL79.
2. rsyslogd version : 8.32.0
3. hostname : testclient1
Help in resolving this issue is greatly appreciated.
Attached complete debug logs. PFA.
Regards,
--
*Naveenkumar Hanchinamani*
Software Engineer II , Server
+91 9741919257 M (PTT)
+91 080 – 4000 5555 O
naveenkumar.mh@motorolasolutions.com
*Kodiak*, a Motorola Solutions Company
+1 972-665-0200 | kodiakptt.com | motorolasolutions.com
--
*For more information on how and why we collect your personal
information, please visit our Privacy Policy
<https://www.motorolasolutions.com/en_us/about/privacy-policy.html?elqTrackId=8980d888905940e39a2613a7a3dcb0a7&elqaid=2786&elqat=2#privacystatement>.*
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* <Test message>
*Getting:*
Oct 27 17:33:46 *localhost* <Test message>
Here, we are forwarding the logs from client to server via UDP port to TCP
port. Seems during handoff time from UDP to TCP, its getting localhost.
*Other Details:*
1. Platform(VM) : RHEL79.
2. rsyslogd version : 8.32.0
3. hostname : testclient1
Help in resolving this issue is greatly appreciated.
Attached complete debug logs. PFA.
Regards,
--
*Naveenkumar Hanchinamani*
Software Engineer II , Server
+91 9741919257 M (PTT)
+91 080 – 4000 5555 O
naveenkumar.mh@motorolasolutions.com
*Kodiak*, a Motorola Solutions Company
+1 972-665-0200 | kodiakptt.com | motorolasolutions.com
--
*For more information on how and why we collect your personal
information, please visit our Privacy Policy
<https://www.motorolasolutions.com/en_us/about/privacy-policy.html?elqTrackId=8980d888905940e39a2613a7a3dcb0a7&elqaid=2786&elqat=2#privacystatement>.*