Hello list,
I would like to count and set for given app-name and syslogseverity. For
example,
count = 0
if $app-name == 'gluster' and $syslogseverity-text == 'crit' then {
count = count + 1
set $!usr!count = count
}
Could someone give me a pointer how I can achieve this?
Thanks in advance,
Regards,
Bala
_______________________________________________
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.