[syslog-ng] Is it possible to include a external python script?

Fabien Wernli wernli at in2p3.fr
Wed Mar 22 06:11:45 UTC 2017


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 :-)



More information about the syslog-ng mailing list