$template outfmt,"%msg:F,58:2%\n" :msg, contains, "msgnum:" action(type="omfile" file=`echo $RSYSLOG_OUT_LOG` template="outfmt")