nszki [mailto:b...@nxlog.org]
Sent: Thursday, December 19, 2013 9:46 AM
To: nxlog-ce-users@lists.sourceforge.net
Subject: Re: [nxlog-ce-users] Hostname resolution
Hi,
parse_syslog_bsd() will put the value parsed from the input into $Hostname,
otherwise (on parse error) it will default to the value
gt;
>
> The rsyslog and local file system logs show the hostname of the server, the
> nxlog appender is showing the ip address in the logs and writing the log
> file name as 'ip_address.log' instead of 'hostname.log'
>
> -Original Message-
> From: Boton
iginal Message-
From: Botond Botyanszki [mailto:b...@nxlog.org]
Sent: Thursday, December 19, 2013 2:20 AM
To: nxlog-ce-users@lists.sourceforge.net
Subject: Re: [nxlog-ce-users] Hostname resolution
Hi,
Hostname comes from two sources, it can be already present in the (sys)log,
otherwise the gethost
Hi,
Hostname comes from two sources, it can be already present in the
(sys)log, otherwise the gethostname(2) system call is used to retrieve
and set it.
Since you did not provide any information on how your input is processed
and what it looks like, it's kinda hard to help.
Regards,
Botond
On