I am having trouble coming up with a v8 rsyslog.conf file from a v5 one as I am 
trying to create a new syslog server.  In looking at all the documentation, 
it's all written in the old format so there's not a lot of examples with the 
new style.
Questions:Since order matters, is there a specific structure that the file 
should be in? Are global variables like $WorkDirectory and $IncludeConfig 
supposed to go within a ruleset?  Where does the timezone function get called 
(like a global or within ruleset(), input())?

How do you call $RulesetCreateMainQueue within a RainerScript ruleset?  Where 
goes the timezone function get called?

Do action functions need to be withing a ruleset?
In doing a google search, it seems like people have 2 main rulesets: local and 
remote. local is where the old default unix rules are and it's set as the 
default ruleset while remote is bound to the input function.  So does that mean 
that this won't work?ruleset (
    name="q_default"
    queue.maxdiskspace="192m"
    queue.type="LinkedList" # use asynchronous processing
    queue.saveonshutdown="on" # save in-memory data if rsyslog shuts down
    action.resumeretrycount="-1" #retry indefinitely on failure
    )

*.info            action(type="omfwd" target="tigger" 
queue.filename="qf_tigger" ruleset="q_default")
    &            action(type="omfwd" target="pooh" queue.filename="qf_pooh" 
ruleset="q_default")
    &            action(type="omfwd" target="piglet" queue.filename="qf_piglet" 
ruleset="q_default")
    &            action(type="omfwd" target="eyore" queue.filename="qf_eyore" 
ruleset="q_default")
-Nate
_______________________________________________
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