summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/tcp_forwarding_tpl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/tcp_forwarding_tpl.conf')
-rw-r--r--tests/testsuites/tcp_forwarding_tpl.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testsuites/tcp_forwarding_tpl.conf b/tests/testsuites/tcp_forwarding_tpl.conf
new file mode 100644
index 00000000..686c73ac
--- /dev/null
+++ b/tests/testsuites/tcp_forwarding_tpl.conf
@@ -0,0 +1,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")