[syslog-ng] Syslog-ng and External variables

Evan Rempel erempel at uvic.ca
Mon Aug 29 18:19:00 CEST 2016


It is done only once when the configuration file is evaluated.
I think it is obvious that the rewrite is done every time :-)

On 08/29/2016 09:16 AM, Robert Blayzor wrote:
> On Aug 29, 2016, at 11:38 AM, Evan Rempel <erempel at uvic.ca> wrote:
>> @module confgen context(rewrite) name(r_myself) exec("/bin/hostname")
>
> I guess the only remaining question on this is a performance one.
>
> Would the exec be done for each and every log message or is it done only once?
>
> --
> Robert
> inoc.net!rblayzor
> XMPP: rblayzor.AT.inoc.net
> PGP Key: 78BEDCE1 @ pgp.mit.edu
> ______________________________________________________________________________
> 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
>


-- 
Evan Rempel                                      erempel at uvic.ca
Senior Systems Administrator                        250.721.7691
Data Centre Services, University Systems, University of Victoria

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160829/7f618a85/attachment.htm 


More information about the syslog-ng mailing list