[syslog-ng] modifying $host in the distination
Nate Campi
nate at campin.net
Thu Oct 6 23:19:31 CEST 2005
On Mon, Oct 03, 2005 at 11:52:05AM -0500, Terry wrote:
>
> The $HOST variable in cases contains the IP address of the host. This
> makes perfect sense but I want it to be the hostname. Can I have a
> mapping of some sorts in the config:
>
> 10.10.0.1 == foorouter
You can use your local /etc/hosts file if that's all you want.
--
Nate
"The report of my death was an exaggeration." - cable from London to a
New York newspaper - Samuel Clemens
More information about the syslog-ng
mailing list