Re: Environment variables in syslog

Fabien Wernli <[email protected]> Tue, 28 Jun 2022 15:18:10 +0200
Newsgroups gmane.comp.syslog-ng
Organization CC-IN2P3 (CNRS)
Message-ID <Yrr/[email protected]>
Hi Faisal,

Try to use the template function instead:

   file("$(env 'ABC_LOG_PATH')/agent.log");


______________________________________________________________________________
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