$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")
