mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 20:20:41 +01:00
17 lines
513 B
Plaintext
17 lines
513 B
Plaintext
# Test for pipe output action (see .sh file for details)
|
|
# rgerhards, 2009-11-05
|
|
$IncludeConfig diag-common.conf
|
|
|
|
$MainMsgQueueTimeoutShutdown 10000
|
|
|
|
# set spool locations and switch queue to disk-only mode
|
|
$WorkDirectory test-spool
|
|
$MainMsgQueueFilename mainq
|
|
$MainMsgQueueType disk
|
|
|
|
$template outfmt,"%msg:F,58:2%\n"
|
|
# with pipes, we do not need to use absolute path names, so
|
|
# we can simply refer to our working pipe via the usual relative
|
|
# path name
|
|
:msg, contains, "msgnum:" |rsyslog-testbench-fifo;outfmt
|