So it would consider "Server" to be a bad hostname but what will it do with it ? I'm not sure I understand this option 100%.<br>If I set "keep_hostname" to "yes" but then tell it that "Server" is a bad hostname what will it use as a hostname in this case ?<br>
<br><div class="gmail_quote">On Fri, Sep 3, 2010 at 12:32 AM, Sandor Geller <span dir="ltr"><<a href="mailto:Sandor.Geller@morganstanley.com">Sandor.Geller@morganstanley.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<div class="im"><br>
On Fri, Sep 3, 2010 at 12:39 AM, stucky <<a href="mailto:stucky101@gmail.com">stucky101@gmail.com</a>> wrote:<br>
> That's exactly the problem. I cannot keep a hostname that was never written<br>
> in the first place.<br>
> The DELL server administrator doesn't send it. As per my email below it<br>
> sends this :<br>
><br>
> Aug 16 21:47:22 Server Administrator: Storage Service EventID: 2242> The<br>
> Patrol Read has started.: Controller 0 (PERC 5/i Integrated)<br>
><br>
> So If I do a "keep_hostname" syslog-ng assumes that the server is called<br>
> "Server" which is of course wrong.<br>
<br>
</div>For the legacy syslog format bad_hostname("^Server$") should do the trick.<br>
<br>
Regards,<br>
<font color="#888888"><br>
Sandor<br>
</font><div><div></div><div class="h5">______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>stucky<br>