[syslog-ng] CSV parser ignoring template()?
John Morrissey
jwm at horde.net
Sun Jan 8 17:11:39 CET 2012
I'm upgrading from 3.1.3 to 3.3.3. My configuration has a CSV parser:
parser p_find_role {
csv-parser(
columns("ROLE", "REMAINDER")
delimiters("0123456789.")
template("${HOST}")
);
};
With 3.1.3, this takes the first word of the machine's hostname and stores
it in $ROLE, but 3.3.3 seems to ignore template() and operates on the log
message instead, storing the first field of the message in $ROLE.
$HOST expands correctly in a log template, so that token is still available
in 3.3.x. Am I missing something else related to the upgrade?
john
--
John Morrissey _o /\ ---- __o
jwm at horde.net _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
More information about the syslog-ng
mailing list