[syslog-ng] FQDN based on destination

Chris Whipple CWhipple at hertz.com
Thu Apr 20 23:59:28 CEST 2006


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); };


Thank you,

Chris Whipple
Sr. Security Analyst
Unix Security Group
The Hertz Corporation
5601 NW Expressway
Oklahoma City, OK 73132, USA
cwhipple at hertz.com



---------------
This message (including attachments) may contain information that is 
privileged, confidential or protected from disclosure.  If you are not the 
intended recipient, you are hereby notified that dissemination, 
disclosure, copying, distribution or use of this message or any 
information contained in it is strictly prohibited.  If you have received 
this message in error, please immediately notify the sender by reply 
e-mail and delete this message from your computer.  Although we have taken 
steps to ensure that this e-mail and attachments are free from any virus, 
we advise that in keeping with good computing practice the recipient 
should ensure they are actually virus free.
---------------



More information about the syslog-ng mailing list