yes, you can use stop as many times as you want.

David Lang

On Mon, 28 Dec 2015, Muhammad Asif wrote:

Date: Mon, 28 Dec 2015 11:19:49 +0500
From: Muhammad Asif <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: rsyslog-users <[email protected]>
Subject: [rsyslog] Can I use multiple stop in filters

Hi geeks,

Can I use "stop" (To avoid writing in syslog file) in multiple filters like
this.

input(type="imptcp" port="514" ruleset="events");



ruleset(name="events"){
   action(type="omfwd" target="127.0.0.1" port="5170" protocol="tcp"
name="events-queue" )

stop
}



module(load="imfile" PollingInterval="30"  ruleset="flows")

input(type="imfile" File="/opt/parser/flows/aggregated_flows.csv"

Tag=""

)

ruleset(name="flows"){
   action(type="omfwd" target="127.0.0.1" port="5172" protocol="tcp"
name="flows-queue")

stop
}


Thanks
_______________________________________________
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.

_______________________________________________
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