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);};