## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} module(load="imuxsock") module(load="imklog" permitnonkernelfacility="on") $ModLoad imudp.so $ActionFileDefaultTemplate RSYSLOG_SyslogProtocol23Format $RepeatedMsgReduction on $FileOwner root $FileGroup adm $FileCreateMode 0640 $DirCreateMode 0755 $UDPServerRun 514 $Umask 0022 $WorkDirectory /var/spool/rsyslog $IncludeConfig /etc/rsyslog.d/*.conf auth,authpriv.* /var/log/auth.log *.*;auth,authpriv.none -/var/log/syslog cron.* /var/log/cron.log daemon.* -/var/log/daemon.log kern.* -/var/log/kern.log lpr.* -/var/log/lpr.log mail.* -/var/log/mail.log user.* -/var/log/user.log mail.info -/var/log/mail.info mail.warn -/var/log/mail.warn mail.err /var/log/mail.err *.=debug;\ auth,authpriv.none;\ news.none;mail.none -/var/log/debug *.=info;*.=notice;*.=warn;\ auth,authpriv.none;\ cron,daemon.none;\ mail,news.none -/var/log/messages *.emerg :omusrmsg:* *.* @localhost:6514;RSYSLOG_SyslogProtocol23Format