> >> Q. We are currently using $ruleset and it's really annoying.  I have
> >> seen examples of ruleset { } being used, but when I try this I get a
> >> configuration error.
> > Post details

It's actually just a syntax error, here is a sample:

ruleset(name="rs1" parser=["rsyslog.rfc3164"]) {
        /home/rger/proj/rsyslog/logfile2
}

(user parser= only if actually needed).

> I have attached the debug log when I try and use this (rsyslog_ruleset)

Just like to mention: it is useful if the debug log matches the provided 
config. In this case, the mismatch was fairly easy to spot, but in other cases 
it can be very confusing (the debug log stated an error in line 76, which was 
right in between two action() statements ;)).

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