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.

Reply via email to