summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/parse3.conf
blob: 8a3cb317b33a01a15c26ad1eb1a9114ba3dd82e6 (plain)
1
2
3
4
5
6
7
8
9
10
# note: we need to strip off the TZ designator in the rfc3339 timestamp
# as this test otherwise fails in different timezones!
$ModLoad ../plugins/omstdout/.libs/omstdout
$IncludeConfig nettest.input.conf	# This picks the to be tested input from the test driver!

$ErrorMessagesToStderr off

# use a special format that we can easily parse in expect
$Template output,"%timereported:1:19:date-rfc3339,csv%, %hostname:::csv%, %programname:::csv%, %syslogtag:R,ERE,0,BLANK:[0-9]+--end:csv%, %syslogseverity:::csv%, %msg:::drop-last-lf,csv%\n" 
*.* :omstdout:;output