summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/sndrcv_udp_rcvr.conf
blob: e5401811441a11d9755df7f065c265c05b0e8cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
# see equally-named shell file for details
# rgerhards, 2009-11-12
$IncludeConfig diag-common.conf

$ModLoad ../plugins/imudp/.libs/imudp
# then SENDER sends to this port (not tcpflood!)
$UDPServerRun 514

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