[syslog-ng] Specific log messages have wrong hostname
bazsi at balabit.hu
Thu Mar 18 11:16:59 CET 2010
On Fri, 2010-03-12 at 13:02 -0500, Christopher Jon Caldwell wrote:
> All of the syslog messages sent by our Solaris servers that contain output from the service processor are getting the wrong hostname assigned to them - the log messages get filed under the hostname of the receiving syslog-ng server. They all share the same process name "SC Alert". The packets look correctly formed so I am assuming it is the space in the process name. Any way to fix this without dropping the messages completely using something like bad_hostname? We are running 2.1.11a Enterprise Edition.
bad_hostname() was invented for this purpose. Or the 3.0.x versions
provide rewrite functionality that lets you fix things like this.
More information about the syslog-ng