summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/tcpsndrcv_rcvr.conf
blob: 6f7ce34b9d90774d666bdb428ebfdb762e45224d (plain)
1
2
3
4
5
6
7
8
9
10
11
# see equally-named shell file 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