Hi all, I need to discard some messages sent by some rsyslog servers that starts with "#" at the beginning. I am trying to do something like this:
if $programname == 'test' or $programname == 'test2' and not $msg contains '#' then @@1.1.1.1:514 Does this filter would work? I am using rsyslog 5.8.10 in these servers. Thanks. _______________________________________________ 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.

