Hi all,

I have a question about $Rulsets:

The example below is from the docs on http://www.rsyslog.com/doc/omruleset.html

Question: How can I set queue paramaters as queue size, queue type, watermarks, 
queue filename etc for a rulesets main queue?

I already tried several <object>Queue* paramaters at several places in the 
config. 
So far without success (<object> = MainMsg and Action).

Is it at all possible to configure a rulesets main queue?

#--------------------------------------------------------------
$ModLoad omruleset

# define ruleset for commonly written file
$RuleSet commonAction
$RulesetCreateMainQueue on
*.* /path/to/file.log

#switch back to default ruleset
$ruleset RSYSLOG_DefaultRuleset

# begin first action
# note that we must first specify which ruleset to use for omruleset:
$ActionOmrulesetRulesetName CommonAction
mail.info :omruleset:
#end first action

# begin second action
# note that we must first specify which ruleset to use for omruleset:
$ActionOmrulesetRulesetName CommonAction
:FROMHOST, isequal, "myhost.example.com" :omruleset:
#end second action

# of course, we can have "regular" actions alongside :omrulset: actions
*.* /path/to/general-message-file.log
#--------------------------------------------------------------

rsyslog version is 5.6.0

TIA
-Marc
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to