mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 04:30:43 +01:00
12 lines
393 B
Plaintext
12 lines
393 B
Plaintext
$IncludeConfig diag-common.conf
|
|
template(name="outfmt" type="string" string="%$!cim!msgnum%\n")
|
|
|
|
module(load="../plugins/mmjsonparse/.libs/mmjsonparse")
|
|
module(load="../plugins/imptcp/.libs/imptcp")
|
|
input(type="imptcp" port="13514")
|
|
|
|
action(type="mmjsonparse" cookie="@cim:" container="!cim")
|
|
if $parsesuccess == "OK" then {
|
|
action(type="omfile" file="./rsyslog.out.log" template="outfmt")
|
|
}
|