summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/pmlastmsg.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-07-13 16:15:02 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-07-13 16:15:02 +0200
commit73ebadd5980f91079416a14ba6463d576ecb6207 (patch)
tree09d1b1a5aff124d037468295fdacb2214c007547 /tests/testsuites/pmlastmsg.conf
parent824a4b98d5fd96183aa2c0961df604fd5ef48915 (diff)
downloadrsyslog-73ebadd5980f91079416a14ba6463d576ecb6207.tar.gz
rsyslog-73ebadd5980f91079416a14ba6463d576ecb6207.tar.xz
rsyslog-73ebadd5980f91079416a14ba6463d576ecb6207.zip
added new parser modules
most importantly pmlastmsg, which handles the pathetic "last message repeated n times" messages that some syslogd's emit. Also some minor fixes, like wrong files names in make dist (for new files introduced after last release)
Diffstat (limited to 'tests/testsuites/pmlastmsg.conf')
-rw-r--r--tests/testsuites/pmlastmsg.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/testsuites/pmlastmsg.conf b/tests/testsuites/pmlastmsg.conf
new file mode 100644
index 00000000..59142dca
--- /dev/null
+++ b/tests/testsuites/pmlastmsg.conf
@@ -0,0 +1,16 @@
+$ModLoad ../plugins/omstdout/.libs/omstdout
+$ModLoad ../plugins/pmlastmsg/.libs/pmlastmsg
+$IncludeConfig nettest.input.conf # This picks the to be tested input from the test driver!
+
+$ErrorMessagesToStderr off
+
+# in this test, we use pmlastmsg, followed by the one-size-fits-all
+# pm3164 (built-in) module. So we can test if non-pmlastmsg messages
+# are also correctly detected.
+$RulesetParser rsyslog.lastline
+$RulesetParser rsyslog.rfc5424
+$RulesetParser rsyslog.rfc3164
+
+# use a special format
+$template fmt,"%msg%\n"
+*.* :omstdout:;fmt