forwarding syslog messages overwrites original hostname
Hopefully some of you gurus out there can help me. I've been banging my head against the wall on this problem and can't seem to find any answers.
I am a network admin and have 1000s of network devices syslogging to a few *nix servers in North America. I recently started playing around with some message correlation tools. Instread of re-configuring all of my devices to syslog to a new server, I decided to have my syslog servers forward their messages to one central server.
This works -- sort of. I've got a NetBSD box that is forwarding syslog messages OK. On my solaris central logging host, it displays the syslog messages in this format: <timestamp> <NetBSDLogServer> <Original Device> <Message>, where <Original Device> is the ip or hostname of the device that originated the message. I do not know what version of syslogd is running on the NetBSD Box.
On a redhat box that handles syslog for Europe, I seem to be forwarding a different format. Again, on my Solaris central logging host, the syslog receives messages from the redhat server in the format <timestamp> <redhat Server> <message>. In effect, it does not include the hostname of the original device that sent the syslog in the first place. I am running syslogd 1.4.1 on the redhat box.
Does anyone know how to force the two syslogd apps to send in the same format? If not, is there a way I can force the redhat box syslogd to send the Original device hostname?
Thanks-
Greg
|