debian-syslog-ng/net-hosts.conf
Eliezer Croitoru f0ee0d70e0 1
2024-01-07 23:34:40 +00:00

10 lines
329 B
Plaintext

source s_network_udp { syslog(ip(0.0.0.0) transport("udp") keep-hostname(no)); };
source s_network_tcp { tcp(ip(0.0.0.0) port(514) keep-hostname(no)); };
destination d_netlog { file("/var/log/remote/${HOST}.log"); };
log { source(s_network_udp); destination(d_netlog);};
log { source(s_network_tcp); destination(d_netlog);};