# This test some real-world snare cases. I don't like snare (no wonder # as I have written EventReporter, the ultimate Windows-to-Syslog tool), # but besides that snare generates severely malformed messages that # really stress-test the rsyslog engine. They deserve to be beaten by someone ;) # This test needs to be run over UDP only, as snare puts LF INTO some of the messages, # which makes it impossible to try these out via traditional syslog/tcp # added 2010-03-21 rgerhards $ModLoad ../plugins/omstdout/.libs/omstdout $IncludeConfig nettest.input.conf # This picks the to be tested input from the test driver! $ErrorMessagesToStderr off # snare usses HT as field delimiter, so many users have turned off # control character escaping to make any sense at all from these messages... $EscapeControlCharactersOnReceive off # use a special format that we can easily check. We do NOT include a timestamp because # the malformed snare messages usually do not contain one (and we can not check against # the system time in our test cases). $template fmt,"%PRI%,%syslogfacility-text%,%syslogseverity-text%,%hostname%,%programname%,%syslogtag%,%msg%\n" *.* :omstdout:;fmt