Hello,

I am wondering if the $InputFileReadMode directive was ever implemented in 
version 5.8.x or is it a 6.x only feature? Not seeing much documentation on it.


Thanks,
Jason

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Brian Knox
Sent: Tuesday, June 12, 2012 3:45 PM
To: rsyslog-users
Subject: [rsyslog] rule blocks and mmjsonparse

I have a situation on rsyslog 6 (dev branch!) where, using the new config
format, I'd like to run only messages that match a filter condition through
mmjsonparse.  First of all, is this possible, and secondly, what would the
syntax be?

Essentially, in pseudoish code I want:

if ($programname == 'rsyslogd-pstats') then {
    1. *.* mmjsonparse
    2. (send messages to an output using a template)
}

Is it possible currently to use mmjsonparse against messages that only
match a filter condition?

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

Reply via email to