This looks like the message is malformed. For more insight, use local6.* /var/log/network/c6k;RSYSLOG_DebugFormat
and provide us a complete sample message that is missing the hostname. Rainer > -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Muhammad Rizwan Butt > Sent: Wednesday, May 16, 2012 6:32 PM > To: [email protected] > Subject: [rsyslog] How to append the value of FROMHOST in a log message > > Hi, > I am logging messages coming from remote hosts in a file /var/log/c6k > The problem i am facing is that the messages doesn't contain the > hostname from which they were originated > the rsyslog.conf entry is configures as follows: > > local6.* /var/log/network/c6k > local6.* ~ > > What changes I make to the configuration to get the hostnames appended to > the log messages of file c6k. > -- > *Best Regards > > Rizwan* > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards

