summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/pmlastmsg.conf
blob: 59142dcafaa8a1777d23e395921a9ec2c8d8ea7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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