Should this work? ------------------------------------------------------------- module(load="imptcp" keepalive="on")
ruleset(name="test1") { *.* /var/log/test1.log } ruleset(name="test2") { *.* /var/log/test2.log call test1 } input(type="imptcp" port="13514" ruleset="test") --------------------------------- I get an error on this one - I'm guessing I'm almost but not quite right. Brian On Fri, Oct 26, 2012 at 4:41 PM, Rainer Gerhards <rgerha...@hq.adiscon.com> wrote: > call rulesetname > > > Sent from phone, thus brief. > > Brian Knox <bri...@talksum.com> hat geschrieben: > Ok - figured out the new ruleset syntax at least: > > -------------------------------------- > module(load="imptcp" keepalive="on") > > ruleset(name="test") { > *.* /var/log/test1.log > } > > input(type="imptcp" port="13514" ruleset="test") > -------------------------------------- > > So, now I just need to figure out "call" > > Brian > > On Fri, Oct 26, 2012 at 4:03 PM, Brian Knox <bri...@talksum.com> wrote: >> I'm trying to test out rsyslog 7 and I cannot find any documentation >> for the proper syntax for using ruleset and call directives. Are >> there any examples of the new syntax available anywhere? >> >> Thanks! >> Brian > _______________________________________________ > 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. > _______________________________________________ > 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. _______________________________________________ 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.