summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/tcp_forwarding_tpl.conf
blob: 686c73ac73f1e408b0f95bceaf56839196afb1d7 (plain)
1
2
3
4
5
6
7
$IncludeConfig diag-common.conf
$MainMsgQueueTimeoutShutdown 10000
template(name="outfmt" type="string" string="%msg:F,58:2%\n")

if $msg contains "msgnum:" then
	action(type="omfwd" template="outfmt"
	       target="127.0.0.1" port="13514" protocol="tcp")