rsyslog/tests/testsuites/lookup_table.conf

10 lines
266 B
Plaintext

$IncludeConfig diag-common.conf
lookup_table(name="xlate" file="xlate.lkp_tbl" reloadOnHUP="on")
template(name="outfmt" type="string" string="- %msg% %$.lkp%\n")
set $.lkp = lookup("xlate", $msg);
action(type="omfile" file="./rsyslog.out.log" template="outfmt")