blob: 74060e31fb4305c9599e26bf454ca63d14091496 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Test for discard functionality
# rgerhards, 2009-07-30
$IncludeConfig diag-common.conf
$ModLoad ../plugins/imtcp/.libs/imtcp
$MainMsgQueueTimeoutShutdown 10000
$InputTCPServerRun 13514
$RepeatedMsgReduction on
:msg, contains, "00000001" ~
$template outfmt,"%msg:F,58:2%\n"
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
:msg, contains, "msgnum:" ?dynfile;outfmt
|