summaryrefslogtreecommitdiff
path: root/tests/testsuites/rscript_le.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/rscript_le.conf')
-rw-r--r--tests/testsuites/rscript_le.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testsuites/rscript_le.conf b/tests/testsuites/rscript_le.conf
new file mode 100644
index 0000000..1963cc5
--- /dev/null
+++ b/tests/testsuites/rscript_le.conf
@@ -0,0 +1,12 @@
+$IncludeConfig diag-common.conf
+
+template(name="outfmt" type="list") {
+ property(name="$!usr!msgnum")
+ constant(value="\n")
+}
+
+if $msg contains 'msgnum' then {
+ set $!usr!msgnum = field($msg, 58, 2);
+ if $!usr!msgnum <= "00005000" then
+ action(type="omfile" file="./rsyslog.out.log" template="outfmt")
+}