blob: 8a4983c173c81f096619dec20db6634084bc9a11 (
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
$ActionWriteAllMarkMessages 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
|