add bundle:rsyslogd
This commit is contained in:
parent
36dac3be7c
commit
39576fda38
6 changed files with 89 additions and 3 deletions
18
bundles/rsyslogd/files/rsyslog.conf
Normal file
18
bundles/rsyslogd/files/rsyslog.conf
Normal file
|
@ -0,0 +1,18 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue