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