12 lines
339 B
Django/Jinja
12 lines
339 B
Django/Jinja
# Receive logs
|
|
module(load="imtcp")
|
|
input(type="imtcp" port="514")
|
|
module(load="imudp")
|
|
input(type="imudp" port="514")
|
|
$AllowedSender TCP, {{ allowed_rsyslog_clients|join(', ') }}
|
|
|
|
$template RemoteHostSyslog,"/var/log/remote/%HOSTNAME%-log
|
|
|
|
$RuleSet remote
|
|
*.* -?RemoteHostSyslog
|
|
*.info;mail.none;authpriv.none;cron.none ?RemoteHostSyslog
|