[rsyslog-notify] Forum Thread: Using property based filter with omprog - (Mode 'post')

noreply at adiscon.com noreply at adiscon.com
Tue May 12 12:33:56 CEST 2015


User: shivam99aa 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25565#p25565

Message: 
----------
I am using property based filter to filter out logs specific to certain
host and send that output to omprog module. 
When i use this 

*.* :omprog: then my script associated with omprog get data perfectally but
if i use this
:fromhost, contains, "mail", :omprog: then my script is not getting any
data.

If i use this filter with a file say for ex
:fromhost, contains, "mail-out2", -/var/log/mail then also i get my data
perfectally in file but i am not able to get this to work with omprog. 

Am i doing something wrong or what i want is not possible?

Is there any other way to achieve same i.e sending logs from particular
host to omprog?


More information about the rsyslog-notify mailing list