mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 01:00:40 +01:00
11 lines
340 B
Plaintext
11 lines
340 B
Plaintext
$IncludeConfig diag-common.conf
|
|
$MainMsgQueueTimeoutShutdown 10000
|
|
|
|
template(name="outfmt" type="string" string="%msg:F,58:2%\n")
|
|
|
|
#this is what we want to test: setting the default template
|
|
module(load="builtin:omfwd" template="outfmt")
|
|
|
|
if $msg contains "msgnum:" then
|
|
action(type="omfwd" target="127.0.0.1" port="13514" protocol="tcp")
|