$IncludeConfig diag-common.conf

$template outfmt,"%msg:F,58:2%\n"

:msg, contains, "msgnum:" @@127.0.0.1:13516
$ActionExecOnlyWhenPreviousIsSuspended on
&	@@127.0.0.1:1234
&	./rsyslog.out.log;outfmt
$ActionExecOnlyWhenPreviousIsSuspended off
