[syslog-ng] Get host IP inside source { file ( ); } driver

Thanuje Ashwin Nallaperuma thanuje88 at gmail.com
Thu Feb 26 07:32:36 CET 2015


I want to read a file which is in the name of the IP of syslog-ng client
I tried with $HOST macro

source { file (/mnt/$HOST); };

But this does not work
Any help on doing this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20150226/23ad4216/attachment.htm 

More information about the syslog-ng mailing list