# see the equally-named .sh file for details
$IncludeConfig diag-common.conf

$RepeatedMsgReduction on

$template outfmt,"%msg:F,58:2%\n"
# note: the target server shall not be available!
:msg, contains, "msgnum:" @@127.0.0.1:13514
$ActionExecOnlyWhenPreviousIsSuspended on
& ./rsyslog.out.log;outfmt
