[syslog-ng] host related macros

Fabien Wernli wernli at in2p3.fr
Fri Aug 18 11:12:20 UTC 2017


Hi,

I have a hard time understanding the behaviour of the multiple host based
macros with respect to the value of the use-fqdn(), and keep-hostname() params.

First of all, when setting use-fqdn(yes), isn't the network destination
supposed to send the fqdn? In our case, tcpdump shows that the short
hostname is sent instead.

Additionally, what does the following paragraph from the documentation mean?

    The hostname-related macros (${FULLHOST}, ${FULLHOST_FROM}, ${HOST}, and
    ${HOST_FROM}) do not have any effect if the keep-hostname() option is
    disabled

Does that mean they are empty if keep-hostname(no) ?

Cheers



More information about the syslog-ng mailing list