mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 20:20:41 +01:00
Thanks to Michael Biebl for reporting this see also https://github.com/rsyslog/rsyslog/issues/524
15 lines
379 B
Plaintext
15 lines
379 B
Plaintext
$IncludeConfig diag-common.conf
|
|
template(name="foo" type="string" string="%$!foo%\n")
|
|
|
|
module(load="../plugins/mmjsonparse/.libs/mmjsonparse")
|
|
module(load="../plugins/imtcp/.libs/imtcp")
|
|
input(type="imtcp" port="13514")
|
|
|
|
action(type="mmjsonparse")
|
|
|
|
foreach ($.quux in $!foo) do {
|
|
if ($.quux == "xyz0") then stop
|
|
}
|
|
action(type="omfile" file="./rsyslog.out.log" template="foo")
|
|
|