[syslog-ng] Insert hostname instead of overwrite ?
Sandor Geller
Sandor.Geller at morganstanley.com
Fri Sep 3 09:32:21 CEST 2010
Hi,
On Fri, Sep 3, 2010 at 12:39 AM, stucky <stucky101 at gmail.com> wrote:
> That's exactly the problem. I cannot keep a hostname that was never written
> in the first place.
> The DELL server administrator doesn't send it. As per my email below it
> sends this :
>
> Aug 16 21:47:22 Server Administrator: Storage Service EventID: 2242> The
> Patrol Read has started.: Controller 0 (PERC 5/i Integrated)
>
> So If I do a "keep_hostname" syslog-ng assumes that the server is called
> "Server" which is of course wrong.
For the legacy syslog format bad_hostname("^Server$") should do the trick.
Regards,
Sandor
More information about the syslog-ng
mailing list