[syslog-ng] Setting and using variables

Fabien Wernli wernli at in2p3.fr
Mon Mar 25 13:23:57 UTC 2019


On Mon, Mar 25, 2019 at 01:07:17PM +0000, Faine, Mark R. (MSFC-IS40)[NICS] wrote:
> Thank you both, this is very helpful.  I can use this.  Is it only possible to set variables by adding to the message?  Can variables exist outside of the message?

The whole message routing logic is message-scoped, so variables are attached to a message. 
You can set global variables using 'define' directives.



More information about the syslog-ng mailing list