summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/tcpsndrcv_rcvr.conf
blob: 6bfb97b3ad8e3195c256cfeaf6a4d0b08f5f16c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
# see tcpsndrcv.h for details
# rgerhards, 2009-11-11
$IncludeConfig diag-common.conf

$ModLoad ../plugins/imtcp/.libs/imtcp
# then SENDER sends to this port (not tcpflood!)
$InputTCPServerRun 13515

$template outfmt,"%msg:F,58:2%\n"
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
:msg, contains, "msgnum:" ?dynfile;outfmt