mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 12:00:43 +01:00
12 lines
309 B
Plaintext
12 lines
309 B
Plaintext
$IncludeConfig diag-common.conf
|
|
|
|
module(load="../plugins/imtcp/.libs/imtcp")
|
|
input(type="imtcp" port="13514")
|
|
|
|
if $msg contains "00000001" then
|
|
stop
|
|
|
|
template(name="outfmt" type="string" string="%msg:F,58:2%\n")
|
|
if $msg contains "msgnum:" then
|
|
action(type="omfile" file="rsyslog.out.log" template="outfmt")
|