[syslog-ng] use_fqdn()

Brian A. Seklecki lavalamp at spiritual-machines.org
Mon Nov 22 20:13:19 CET 2010


The following ended up working:

  #rewrite r_hostnames {
  #        # the FQDN is made available in HOST_FQDN
  #        set("$HOST" value("HOST_FQDN"));
  #        # HOST is truncated to only contain the FQDN per FS#19379
  #        # used in log ... (messages) near end
  #        subst('^([a-zA-Z0-9\-\@]+)\..*$', '$1' value("HOST"));
  #};




On Sun, 14 Nov 2010, Balazs Scheidler wrote:

>> 	subst('^([\-a-zA-Z])\..*$', '$1' value("HOST"));



More information about the syslog-ng mailing list