[syslog-ng] Issues with lowercase hostname on 3.2.5
Kay N. Avila
kaynavila at gmail.com
Wed Sep 23 18:26:40 CEST 2015
Hello,
I'm running syslog-ng 3.2.5 from EPEL on RHEL and having an issue with
the $HOST variable.
My destination is destination device_log {
file("/<snipped>/$HOST.log"); }; and that is working, except the file
is created with an uppercase name if the host reports it that way.
I'd like them to all be consistently lowercase. I can't use a DNS
look up instead since not all of the hosts have reverse DNS set for
their IPs.
I've tried normalize-hostnames(yes); in the global options but it
doesn't seem to make a difference. Also I don't believe $(lowercase
...) is available to me in 3.2.5.
I've read through the documentation and have come up empty. What am I
missing? Apologies if this has been asked before; I searched the list
but couldn't find anything.
Thanks for any pointers,
Kay Avila
More information about the syslog-ng
mailing list