@version: 3.29 @include "scl.conf" source s_local { internal(); }; # default-network-drivers accepts the mixed/raw formats used by the DEPOT # fleet on the standard UDP/TCP syslog listeners. source s_network { default-network-drivers(); }; # Alloy's syslog receiver accepts one explicit format per listener. Normalize # every accepted input to RFC5424 before relaying it over the private network. template t_alloy_rfc5424 { template("<${PRI}>1 ${ISODATE} ${HOST} ${PROGRAM} ${PID} ${MSGID} - ${MSG}\n"); }; destination d_alloy { syslog("alloy" transport("tcp") port("1514") template(t_alloy_rfc5424) ); }; log { source(s_local); source(s_network); destination(d_alloy); };