mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 16:50:42 +01:00
12 lines
362 B
Plaintext
12 lines
362 B
Plaintext
$IncludeConfig diag-common.conf
|
|
|
|
lookup_table(name="xlate_0" file="xlate.lkp_tbl")
|
|
lookup_table(name="xlate_1" file="xlate_1.lkp_tbl")
|
|
|
|
template(name="outfmt" type="string" string="- %msg% 0_%$.lkp_0% 1_%$.lkp_1%\n")
|
|
|
|
set $.lkp_0 = lookup("xlate_0", $msg);
|
|
set $.lkp_1 = lookup("xlate_1", $msg);
|
|
|
|
action(type="omfile" file="./rsyslog.out.log" template="outfmt")
|