Hi Ashutosh, > I have a installed and configured rsyslog-1.17.6 for a centralized > syslog server, currently it's accepting syslogs at both UDP as well as > TCP but when I check my /var/log/messages file I find that it doesn't > log the hostname.
rsyslog 1.19.0 was released yesterday. Maybe you want to give it a try. > Pasting the one of the syslog > Aug 16 08:07:56 50091162 08/16/2007 07:08:03.390 ..truncated > > In place of 50091162 it should log the ip address. > > I did some initial research in which it was mentioned the template needs > to have %FROMHOST% rather than %HOSTNAME% which I did but to no luck. If the problem still persist, could you provide a raw message as it is received by rsyslog. More information about rawmsg and properties at http://www.rsyslog.com/module-Static_Docs-view-f-/property_replacer.html .phtml Michael _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog

