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