Here is some pseducode based off of another recent thread:

ruleset(name="remote-rules"){
        action(
                ...
        )
        action(
                ...
        )
        stop
}

input(type="imudp" port="1514" address="127.0.0.1" ruleset="remote-rules")
input(type="imptcp" port="1514" address="127.0.0.1" ruleset="remote-rules")

I see here that the stop directive is used as the last item within that ruleset. Is that necessary? I had the idea (evidently mistaken) that when you assign a ruleset to an input that only that ruleset would be applied to messages arriving on that input.

Is the stop directive necessary here?

_______________________________________________
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