blob: 65659f00e84d98499bd012c15524c5f5b72de1c5 (
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 2514
$template outfmt,"%msg:F,58:2%\n"
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
:msg, contains, "msgnum:" ?dynfile;outfmt
|