El vie., 5 abr. 2019 a las 7:47, Tuan Minh Duong via rsyslog (<[email protected]>) escribió: > > Hi All, > > I'm using rsyslog 8.4.0 and try to log a msg with RFC5424 with msgid. > For example: > logger "Testing testing" --msgid "testmsgid" --rfc5424 > > But when I configure the rsyslog.conf to filter the msg base on msgid, I > can't see that log msg. > Here is my rsyslog.conf > if $msgid contains "testmsgid" then { > *.* /var/log/test.log > } > > I still can see "testmsgid" in the rawmsg, but I can fetch it via variable > $msgid. > > Does anyone has any idea how to fetch msgid field? Or is this a known > problem in rsyslog?
see https://github.com/rsyslog/rsyslog/issues/3592#issuecomment-480186237 Rainer > > Thanks a lot for your support, > Tom > _______________________________________________ > 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. _______________________________________________ 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.

