blob: 1bcf83c1b229a4a3ef8f33f60c59da29533d2860 (
plain)
1
2
3
4
5
6
|
$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")
|