Recently, I'm using imkafka to receive message which logged by another servers. But I can't get the $hostname from my syslog formated logs via rsyslog. My log is a standard syslog with "legacy syslog" format.
After reading the code, I found: pmrfc3164.c parse host only (pMsg->msgFlags & PARSE_HOSTNAME) I found many input method via network had set PARSE_HOSTNAME in message dispatching, but imkafa commeted it in imkafka.c:179 (rsyslog v8.36.0). So the hostname which message from imkafka can not be parsed. The code had been there from the initial release. I uncomment it, compile & run, seems every thing is fine. So my questions is: Is there any known bugs or problem in this case? Or, what is the reason to forbid imkafka parse the hostname? Thanks -- eSX _______________________________________________ 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 NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

