diff options
Diffstat (limited to 'tests/testsuites/mmjsonparse_simple.conf')
-rw-r--r-- | tests/testsuites/mmjsonparse_simple.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testsuites/mmjsonparse_simple.conf b/tests/testsuites/mmjsonparse_simple.conf new file mode 100644 index 0000000..f298a57 --- /dev/null +++ b/tests/testsuites/mmjsonparse_simple.conf @@ -0,0 +1,11 @@ +$IncludeConfig diag-common.conf +template(name="outfmt" type="string" string="%$!msgnum%\n") + +module(load="../plugins/mmjsonparse/.libs/mmjsonparse") +module(load="../plugins/imptcp/.libs/imptcp") +input(type="imptcp" port="13514") + +action(type="mmjsonparse") +if $parsesuccess == "OK" then { + action(type="omfile" file="./rsyslog.out.log" template="outfmt") +} |