rsyslog/tests/testsuites/sndrcv_failover_rcvr.conf
2011-06-20 15:57:15 +02:00

12 lines
361 B
Plaintext

# 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