[syslog-ng] FQDN based on destination

Balazs Scheidler bazsi at balabit.hu
Sun Apr 23 11:30:10 CEST 2006


On Thu, 2006-04-20 at 16:59 -0500, Chris Whipple wrote:
> Is there a way to change the use_fqdn() option based on the destination so
> that one receives the short host name an the other receives the FQ name?
> I'm using version 1.6.10.
> 
> example:
> 
>       options {
>             use_fqdn (yes)
>             ...
>             };
> 
>       destination d_logfile        { file("somelogfile") ;  };
>       destination d_rmtserver   { tcp("rmtserver.domain.com" port(514));
> use_fqdn(no); };

No it is not currently possible, and it is not very easy to do as
hostname resolution is done at the receive side, it would be easier to
do on a per-source basis.

-- 
Bazsi



More information about the syslog-ng mailing list