Page 1 of 1

Language of the received logs

Posted: Wed Apr 12, 2017 4:08 am
by dLans
Hello,

We have several German servers in branch offices that we monitor. We've recently started using NXLOG to collect all our Windows event logs and centralize them within Nagios log server. When we login with our account the server displays in English due to a language pack, while the system is actually installed in German. Because of that we receive all the logging in German which is difficult to read through + it can mess with several queries.

Is there a way to force the server to send the logs in English? When I navigate to the event viewer manually I can see all the audit loggings in English just fine.

Kind regards,
Dennis Lans

Re: Language of the received logs

Posted: Wed Apr 12, 2017 9:23 am
by mcapra
The nxlog module responsible for sending the Windows event log, im_msvistalog, always grabs the event logs in the default system language. If that's German, then im_msvistalog will pull the German version of the event logs.

Unfortunately, that particular module doesn't have settings for changing which copy of the event logs (English or German) it's pulling from. The module would have to be re-written to account for that. The Windows function that im_vistalog uses, EvtRender, can accept a context which could be leveraged to specify a language. Unfortunately, a context cannot be provided when the EvtRenderEventXml flag is used, which this module uses extensively.

The short answer: The module would need to be re-written.

Re: Language of the received logs

Posted: Thu Apr 13, 2017 8:02 am
by dLans
Hi Mcapra,

Thank you for your reply, I understand it perfectly. Not sure what we'll do, but it's likely we will just have to learn to read German =).

Kind regards,
Dennis Lans

Re: Language of the received logs

Posted: Thu Apr 13, 2017 9:10 am
by cdienger
Hi Dennis,

Was there anything else we can help with on this or can we consider this thread closed?