summaryrefslogtreecommitdiff
path: root/tests/testsuites/fac_local0.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/fac_local0.conf')
-rw-r--r--tests/testsuites/fac_local0.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuites/fac_local0.conf b/tests/testsuites/fac_local0.conf
new file mode 100644
index 0000000..2357e63
--- /dev/null
+++ b/tests/testsuites/fac_local0.conf
@@ -0,0 +1,8 @@
+$IncludeConfig diag-common.conf
+
+module(load="../plugins/imtcp/.libs/imtcp")
+input(type="imtcp" port="13514")
+
+template(type="string" name="outfmt" string="%msg:F,58:2%,%msg:F,58:3%,%msg:F,58:4%\n")
+if $syslogfacility-text == "local0" then
+ action(type="omfile" file="rsyslog.out.log" template="outfmt")