blob: fd18fd99b330889d7ca16d486bed2726e250f669 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$IncludeConfig diag-common.conf
module(load="../plugins/mmpstrucdata/.libs/mmpstrucdata")
module(load="../plugins/imtcp/.libs/imtcp")
template(name="outfmt" type="string" string="%$!rfc5424-sd!tcpflood@32473!msgnum%\n")
input(type="imtcp" port="13514")
action(type="mmpstrucdata")
if $msg contains "msgnum" then
action(type="omfile" template="outfmt" file="rsyslog.out.log")
|