16 lines
273 B
Plaintext
16 lines
273 B
Plaintext
@version: 4.7
|
|
@include "scl.conf"
|
|
|
|
source s_network {
|
|
network(ip(0.0.0.0) port(514) transport("udp"));
|
|
};
|
|
|
|
destination d_file {
|
|
file("/reports/nginx-syslog.log" template("$ISODATE $HOST $MSGHDR$MSG\n"));
|
|
};
|
|
|
|
log {
|
|
source(s_network);
|
|
destination(d_file);
|
|
};
|