syslog-ng / syslog-ng

syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, queueing, SQL & NoSQL.
https://www.syslog-ng.com
Other
2.07k stars 465 forks source link

filterx: `format_kv()` #4955

Closed alltilla closed 1 month ago

alltilla commented 1 month ago
format_kv(kvs_dict, optional_value_separator, optional_pair_separator)
alltilla commented 1 month ago

The argument extraction is a nightmare. I think it is time to extract some of those logic to a separate class, like FilterXFunctionArgs.