Files
ansible/roles/rsyslog/files/sys.conf
VC 859fdb4ce5
Some checks failed
ansible-lint / lint-everything (push) Failing after 37s
🚑️: fix rsyslog config
2025-11-03 11:58:51 +01:00

12 lines
276 B
Plaintext

template(name="RemoteHost" type="string" string="/srv/log/%HOSTNAME%/%$YEAR%-%$MONTH%-%$DAY%.log.gz")
## Loads UDP
module(load="imudp")
ruleset(name="remote") {
action(type="omfile" DynaFile="RemoteHost" zipLevel="5")
}
input(type="imudp" port="514" ruleset="remote")