summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/imfile-basic.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/imfile-basic.conf')
-rw-r--r--tests/testsuites/imfile-basic.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testsuites/imfile-basic.conf b/tests/testsuites/imfile-basic.conf
new file mode 100644
index 00000000..9fb9b5ca
--- /dev/null
+++ b/tests/testsuites/imfile-basic.conf
@@ -0,0 +1,12 @@
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imfile/.libs/imfile
+$InputFileName ./rsyslog.input
+$InputFileTag file:
+$InputFileStateFile stat-file1
+$InputFileSeverity error
+$InputFileFacility local7
+$InputRunFileMonitor
+
+$template outfmt,"%msg:F,58:2%\n"
+:msg, contains, "msgnum:" ./rsyslog.out.log;outfmt