mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 02:40:42 +01:00
13 lines
380 B
Plaintext
13 lines
380 B
Plaintext
$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")
|