18 lines
395 B
Text
18 lines
395 B
Text
# provides UDP syslog reception
|
|
module(load="imudp")
|
|
input(type="imudp" port="514")
|
|
|
|
# provides TCP syslog reception
|
|
module(load="imtcp")
|
|
input(type="imtcp" port="514")
|
|
|
|
$FileOwner root
|
|
$FileGroup adm
|
|
$FileCreateMode 0640
|
|
$DirCreateMode 0755
|
|
$Umask 0022
|
|
|
|
$WorkDirectory /var/spool/rsyslog
|
|
|
|
$template remote-incoming-logs,"/var/log/rsyslog/%HOSTNAME%/%PROGRAMNAME%.log"
|
|
*.* ?remote-incoming-logs
|