summaryrefslogtreecommitdiffstats
path: root/tests/testruns/parser.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-03-23 11:27:38 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-03-23 11:27:38 +0100
commitc11b7ec7d6e6216481f28447b94e59e524dd824c (patch)
treed0236fa15528769a91637572d538fc2192b42463 /tests/testruns/parser.conf
parentbbfa04fbe63f1bbb47f5cdc683045cf2775b3977 (diff)
downloadrsyslog-c11b7ec7d6e6216481f28447b94e59e524dd824c.tar.gz
rsyslog-c11b7ec7d6e6216481f28447b94e59e524dd824c.tar.xz
rsyslog-c11b7ec7d6e6216481f28447b94e59e524dd824c.zip
some text scripts added (experimental)
Diffstat (limited to 'tests/testruns/parser.conf')
-rw-r--r--tests/testruns/parser.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testruns/parser.conf b/tests/testruns/parser.conf
new file mode 100644
index 00000000..a515ff6c
--- /dev/null
+++ b/tests/testruns/parser.conf
@@ -0,0 +1,10 @@
+$ModLoad ../plugins/omstdout/.libs/omstdout
+$ModLoad ../plugins/imuxsock/.libs/imuxsock
+$ModLoad ../plugins/imudp/.libs/imudp
+$UDPServerRun 514
+
+$ErrorMessagesToStderr off
+
+# use a special format that we can easily parse in expect
+$template expect,"{{%PRI%,%syslogtag%,%hostname%}}"
+*.* :omstdout:;expect