On Wed, Mar 22, 2017 at 05:57:04AM +0100, Scheidler, Balázs wrote:
> In template functions you can't and should not do that. There's a python
> parser they was recently merged where you can change values.
>
> But you'll need the latest master for that.
If you can't wait for the next release, there's a trick: use your template
python code to generate JSON, then chain it using the json-parser :-)
____________________________________________________________ __________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/? product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq