Red Hat Bugzilla – Bug 476543
rsyslog report remote messages as it comes from localhost
Last modified: 2016-09-20 00:49:09 EDT
Description of problem:
When a remote host is configured to syslog to the central host, remote hosts are repoerted as localhost.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run rsyslogd with remote logging enabled.
2. Configure another rsyslog to log remotely to central log server.
3. Watch logs. localhost is the source of messages.
localhost is the reported source of messages.
real hostname is reported as a source of syslog messages.
Sorry, it was a configuration problem on client. I had wrong line in /etc/hosts.