mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 12:40:42 +01:00
7 lines
220 B
Plaintext
7 lines
220 B
Plaintext
$IncludeConfig diag-common.conf
|
|
|
|
template(name="outfmt" type="string" string="%$!usr!msg:F,58:2%\n")
|
|
set $!usr!msg = $msg;
|
|
if $msg contains 'msgnum' then
|
|
action(type="omfile" file="./rsyslog.out.log" template="outfmt")
|