debian-syslog-ng/net-hosts.conf

10 lines
329 B
Plaintext
Raw Permalink Normal View History

2024-01-08 01:34:40 +02:00
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);};