summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/cee_simple.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/cee_simple.conf')
-rw-r--r--tests/testsuites/cee_simple.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testsuites/cee_simple.conf b/tests/testsuites/cee_simple.conf
new file mode 100644
index 00000000..1bcf83c1
--- /dev/null
+++ b/tests/testsuites/cee_simple.conf
@@ -0,0 +1,6 @@
+$IncludeConfig diag-common.conf
+
+template(name="outfmt" type="string" string="%$!usr!msg:F,58:2%\n")
+set $!usr!msg = $msg;
+if $msg contains 'msgnum' then
+ action(type="omfile" file="./rsyslog.out.log" template="outfmt")