<div dir="ltr"><div><div>Or, if you use one of the RPM distributions, I have a repo compiled once in a while from git head. You can read more about it at <a href="https://www.balabit.com/blog/rpm-packages-from-syslog-ng-git-head/">https://www.balabit.com/blog/rpm-packages-from-syslog-ng-git-head/</a><br><br></div>A couple of python parser related bug fixes were merged recently, so I try to update it in the coming days (I'm on sick leave right now...).<br><br></div>Bye,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Peter Czanik (CzP) <<a href="mailto:peter.czanik@balabit.com" target="_blank">peter.czanik@balabit.com</a>><br>Balabit / syslog-ng upstream<br><a href="https://www.balabit.com/blog/author/peterczanik/" target="_blank">https://www.balabit.com/blog/author/peterczanik/</a><br><a href="https://twitter.com/PCzanik" target="_blank">https://twitter.com/PCzanik</a></div></div></div></div>
<br><div class="gmail_quote">On Wed, Mar 22, 2017 at 7:11 AM, Fabien Wernli <span dir="ltr"><<a href="mailto:wernli@in2p3.fr" target="_blank">wernli@in2p3.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Mar 22, 2017 at 05:57:04AM +0100, Scheidler, Balázs wrote:<br>
> In template functions you can't and should not do that. There's a python<br>
> parser they was recently merged where you can change values.<br>
><br>
> But you'll need the latest master for that.<br>
<br>
If you can't wait for the next release, there's a trick: use your template<br>
python code to generate JSON, then chain it using the json-parser :-)<br>
<br>
______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
</blockquote></div><br></div>