$IncludeConfig diag-common.conf module(load="../plugins/imtcp/.libs/imtcp") input(type="imtcp" port="13514") template(type="string" name="outfmt" string="%rawmsg-after-pri%\n") if $syslogfacility-text == "local0" then action(type="omfile" file="rsyslog.out.log" template="outfmt")