diff options
author | Michael Biebl <biebl@debian.org> | 2014-03-13 17:58:53 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2014-03-13 17:58:53 +0100 |
commit | f984a7a098a47b0c44f4702c9f7ca8a31a822ab5 (patch) | |
tree | a7d5e9a169a07fbd079ac6baec85d834a78c7444 /tests/testsuites/rscript_gt.conf | |
parent | fd3c0f95be143bd2e3eb56c277eb9a99bf93e9cc (diff) | |
parent | 29867b5cc18d25191fbbdcc4af4f79cc3a4da43e (diff) | |
download | rsyslog-f984a7a098a47b0c44f4702c9f7ca8a31a822ab5.tar.gz |
Merge tag 'upstream/7.6.1'
Upstream version 7.6.1
Diffstat (limited to 'tests/testsuites/rscript_gt.conf')
-rw-r--r-- | tests/testsuites/rscript_gt.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testsuites/rscript_gt.conf b/tests/testsuites/rscript_gt.conf new file mode 100644 index 0000000..9a651ad --- /dev/null +++ b/tests/testsuites/rscript_gt.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 > "00004999" then + action(type="omfile" file="./rsyslog.out.log" template="outfmt") +} |