On Wed, 2 Sep 2015, Brandon Phelps wrote:

I think I am missing something. since I’m using a property-based filter, shouldn’t “:fromhost-ip, regex, ‘blah’” ONLY compare the regular expression I defined to the “fromhost-ip” property? And so shouldn’t $ match the end of the IP address instead of the end of “:msg”?

you are correct, there is a regex testing tool on the rsyslog website.

David Lang
_______________________________________________
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.

Reply via email to