$IncludeConfig diag-common.conf

$template outfmt,"%msg:F,58:2%\n"
if $msg contains 'msgnum' then ./rsyslog.out.log;outfmt
