Ok cool thanks!
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Todd Mortensen Sent: Friday, April 05, 2013 9:27 AM To: rsyslog-users Subject: Re: [rsyslog] Templates You can make the template name anything you want. It doesn't even need to begin with DYN. On Fri, Apr 5, 2013 at 9:21 AM, Josh Bitto <[email protected]> wrote: > When creating a template is there a certain way to name them or could > I make anything and use that in my if then statements. > > Example... > > $template DYNmessages,"/var/log/hosts/%HOSTNAME%/messages" > > if \ > $source != 'syslog.onlineschool.ca' \ > and \ > $syslogseverity <= '6' \ > and ( \ > $syslogfacility-text != 'mail' \ > and \ > $syslogfacility-text != 'authpriv' \ > and \ > $syslogfacility-text != 'cron' \ > ) \ > then ?DYNmessages > > > where the $template is DYNmessages----could this be anything? Like > DYNbumbleetuna > > > > Joshua Bitto > Information Technologist > KCC > > > > _______________________________________________ > 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.

