mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 09:44:29 +00:00
16 lines
352 B
Django/Jinja
16 lines
352 B
Django/Jinja
# Enable UDP syslog
|
|
module(load="imudp")
|
|
input(type="imudp" port="514")
|
|
|
|
# Enable TCP syslog
|
|
module(load="imtcp")
|
|
input(type="imtcp" port="514")
|
|
|
|
# Template: per-host log directory
|
|
template(name="PerHostLogs" type="string"
|
|
string="/prole/logs/%HOSTNAME%/%PROGRAMNAME%.log")
|
|
|
|
# Default rule: everything to per-host logs
|
|
*.* ?PerHostLogs
|
|
& stop
|