diff options
Diffstat (limited to 'tests/testsuites/stop.conf')
-rw-r--r-- | tests/testsuites/stop.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testsuites/stop.conf b/tests/testsuites/stop.conf new file mode 100644 index 00000000..84beab82 --- /dev/null +++ b/tests/testsuites/stop.conf @@ -0,0 +1,11 @@ +$IncludeConfig diag-common.conf + +module(load="../plugins/imtcp/.libs/imtcp") +input(type="imtcp" port="13514") + +if $msg contains "00000001" then + stop + +template(name="outfmt" type="string" string="%msg:F,58:2%\n") +if $msg contains "msgnum:" then + action(type="omfile" file="rsyslog.out.log" template="outfmt") |