when troubleshooting things like this, create a rule file that is as minimal as you can get and parse with the -v option, it will show you what it's doing as it walks through the line.
Ok :)


In this case, I seem to remember that number is defined as being followed by a space, so you can't use it if the number is followed by a newline.
I'll have to confirm that...but may I know why? Should I fill an issue if it's indeed that way?

almost, %@apache% makes no more sense than %word%, you need to give the match a name

so %log:@apache% would work, or if you want to move everything up a later (rather than having $!apache!ip) you could do %.:@apache%
That should work

there is the alternative capability in the v2 language, or define multiple rules
Multiple rules is what I'm trying now. I have tested alternate and I'm not able to get it working.
Does alternative work for both...?

 * A or B (doc states it does)
 * A or nothing (that was my real question)

Regards
_______________________________________________
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