[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] About $HOST macro
From:       Balazs Scheidler <bazsi () balabit ! hu>
Date:       2008-04-16 7:09:16
Message-ID: 1208329756.9948.18.camel () bzorp ! balabit
[Download RAW message or body]


On Wed, 2008-04-16 at 11:42 +0900, Yu Watanabe wrote:
> Hello,
> 
> I have a question regarding to the $HOST macro in the syslog.conf.
> 
> Which value does the syslog-ng uses for the hostname?
> It seems that there are circumstatnses that it converts the SOURCEIP using
> the /etc/hosts and sometimes it gets the hostname somewhere else.
> 
> I would like to know how does the syslog-ng defines this value.

It can also extract this value from the received syslog data, depending
on the keep_hostname() setting.

-- 
Bazsi

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic