summaryrefslogtreecommitdiff
path: root/tests/testsuites/fac_news.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/fac_news.conf')
-rw-r--r--tests/testsuites/fac_news.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuites/fac_news.conf b/tests/testsuites/fac_news.conf
new file mode 100644
index 0000000..efc6ba0
--- /dev/null
+++ b/tests/testsuites/fac_news.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 prifilt("news.*") then
+ action(type="omfile" file="rsyslog.out.log" template="outfmt")