summaryrefslogtreecommitdiff
path: root/tests/testsuites/rscript_gt.conf
blob: 9a651ad66b8f25a78fdfdc9715acc9740c731039 (plain)
1
2
3
4
5
6
7
8
9
10
11
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")
}