[syslog-ng] can kv-parser options be from macros

Evan Rempel erempel at uvic.ca
Fri Nov 1 17:01:45 UTC 2024


Does anyone know if I can use the enriching data to set macros  that can then be used as kv-parser options.
These values might change on a message by message basis.
For example:

parser p_kv {
    kv-parser (
        prefix("$kv_prefix")
        value-separator("$kv_vseparator")
        pair-separator("$kv_pseparator")
    );
};

--
Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20241101/d4fd14e7/attachment.htm>


More information about the syslog-ng mailing list