Hi all,

I'm trying to whip up a quick config using a few different rulesets with
their own queues in the new ruleset(){} format. Is there a good way to do
that?

I've tried (based on a quick reading of
http://www.rsyslog.com/doc/node32.html):

ruleset(name="ruleset1" queue.type="linkedlist") {
        action(type="omfile" dynafile="DailyFile")
        stop
}

This fails a config check, claiming that queue.type isn't a supported
parameter.

I've also tried (based on a config from the old style):

ruleset(name="ruleset1") {
        $RulesetCreateMainQueue on
        action(type="omfile" dynafile="DailyFile")
        stop
}

This fails the config check, claiming that my ruleset already has a queue
defined.  Based on the fact that impstats only prints one queue's stats
(mainq) if I leave off the directive, I'm assuming that the parser doesn't
think that that directive is inside of the ruleset and thinks that I'm
trying to enable a second queue for the main ruleset.

Has anyone done this before who might be able to point me in the right
direction?

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.

Reply via email to