blob: 47cfd7d348a1b433039144d5a4864cd36aacbda2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
$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")
}
|