rsyslog-users -

I have tried to use either of the following rules to achieve the effect of
routing a message based on the last digit of the part before the first dot
in the FQDM:

:hostname, ereregex, "^([^.]+)[0-1]\." ?last_digit_0_through_1
&@x.x.x.x:x
&~

:hostname, ereregex, "^([^.]+)[0-1]\..+" ?last_digit_0_through_1
&@x.x.x.x:x
&~

I expect this to match:
asdf1231.blahblah.com

I expect this to not match:
asdf1235.blahblah.com

But what happens instead is that they both match.  What am I missing?
_______________________________________________
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