<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Windows EventLog parsing questions]]></title><description><![CDATA[<p dir="auto">I just started to use the windows EventLog parsing and have some questions:</p>
<ol>
<li></li>
</ol>
<p dir="auto">I would like to have a quite generic parser which parses for all errors in system eventlog (all sources and all IDs). I managed that.  Than I would like to give the event-source and the event-id as parameters to NetXMS. But I only see the possibility to extract parameters out of the eventlog-description field (with regexp). In this field there are source and ID not available. I tried [&lt;id&gt;(.*)&lt;/id&gt;], but that's not supported. Is there another possibility for such parsing? I can't make a rule for each possible source and each ID.</p>
<ol start="2">
<li></li>
</ol>
<p dir="auto">I would like to parse for 'the previous shutdown was unexpected' events (source=EventLog, id=6008). But it's not possible. I suppose the agent starts parsing the eventlog when he starts up. But this EventLog-event is earlier (between system boot and start of NetXMS agent). Is there a possibility that the agent can also parse the events between system start and agent start?</p>
<ol start="3">
<li></li>
</ol>
<p dir="auto">Is there a good website with ideas for EventLog-events which should be monitored? In some commercial network monitoring products are a lot of predefined EventLog events. Maybe someone knows a good source.</p>
<ol start="4">
<li></li>
</ol>
<p dir="auto">What's the best solution to deliver the parser xml files to a lot of nodes?<br />
thanks<br />
Dani</p>
]]></description><link>https://forum.netxms.org/topic/3045/windows-eventlog-parsing-questions</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:26:26 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3045.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Apr 2014 07:49:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Windows EventLog parsing questions on Thu, 12 Nov 2015 16:54:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor</p>
<p dir="auto">Very strange. I have tested with a Win7, a Win8.1 and a Win2012R2 node. All with the same negative result.<br />
How did you tested?</p>
<p dir="auto">My test was like this:</p>
<p dir="auto">Logwatch section of the agent config:</p>
<pre><code>[logwatch]
ProcessOfflineEvents = yes
Parser = ${ProgramFiles}\NetXMS\var\eventlog-system-parser.xml
Parser = ${ProgramFiles}\NetXMS\var\eventlog-application-parser.xml
</code></pre>
<p dir="auto">Parser (file: eventlog-system-parser.xml):</p>
<pre><code>&lt;parser name="SystemLog"&gt;
  &lt;file&gt;*System&lt;/file&gt;
  &lt;rules&gt;
    &lt;rule&gt;
      &lt;match&gt;(.*)&lt;/match&gt;
      &lt;level&gt;1&lt;/level&gt;
      &lt;event params="1"&gt;100845&lt;/event&gt;
    &lt;/rule&gt;
  &lt;/rules&gt;
&lt;/parser&gt;
</code></pre>
<p dir="auto">Than I hard-switched of the node. After that I checked the NetXMS events of this node. But I can't find any event for the expected Windows Event (Eventlog: System, Event-ID: 6008, Source: Eventlog, Text: Last shutdown was unexpected).<br />
While normal operation I get a NetXMS event for every error in Windows Eventlog. I only have problems with offline events.</p>
<p dir="auto">thanks<br />
Dani</p>
]]></description><link>https://forum.netxms.org/post/18281</link><guid isPermaLink="true">https://forum.netxms.org/post/18281</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Thu, 12 Nov 2015 16:54:23 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Thu, 12 Nov 2015 16:12:33 GMT]]></title><description><![CDATA[<p dir="auto">It works on all my (very limited) set of Windows systems (test it on Win XP, Win 7, and Win 10). Do you have it working on at least one system?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/18279</link><guid isPermaLink="true">https://forum.netxms.org/post/18279</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 12 Nov 2015 16:12:33 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 11 Nov 2015 12:40:09 GMT]]></title><description><![CDATA[<p dir="auto">Are there any news about the offline processing feature? In V2.0-RC2 it's still not working for us.</p>
]]></description><link>https://forum.netxms.org/post/18266</link><guid isPermaLink="true">https://forum.netxms.org/post/18266</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Wed, 11 Nov 2015 12:40:09 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Fri, 16 Oct 2015 07:08:47 GMT]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">is it possible to add the user name of the Windows event log entry to the event parameters?<br />
I monitor a terminal server farm for application crashes which works really nice, but I like to know in the event which user session is affected.</p>
<p dir="auto">Greetings<br />
Ben</p>
]]></description><link>https://forum.netxms.org/post/17982</link><guid isPermaLink="true">https://forum.netxms.org/post/17982</guid><dc:creator><![CDATA[flytech-ben]]></dc:creator><pubDate>Fri, 16 Oct 2015 07:08:47 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 24 Jun 2015 15:08:56 GMT]]></title><description><![CDATA[<p dir="auto">Have you found anything in the debug log file?</p>
]]></description><link>https://forum.netxms.org/post/17161</link><guid isPermaLink="true">https://forum.netxms.org/post/17161</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Wed, 24 Jun 2015 15:08:56 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Fri, 22 May 2015 11:33:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor</p>
<p dir="auto">Have you found anything about this?</p>
<p dir="auto">thanks<br />
Dani</p>
]]></description><link>https://forum.netxms.org/post/16919</link><guid isPermaLink="true">https://forum.netxms.org/post/16919</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Fri, 22 May 2015 11:33:16 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Mon, 04 May 2015 16:24:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor</p>
<p dir="auto">Here the agent log with debuglevel=2. There was no "LogWatch: EvtQuery failed (...)".<br />
There were these events for example before the NetXMS agent started:<br />
Event-ID 41, Source=Kernel-Power, severity=critical, 04.05.2015 18:19:34<br />
Event-ID 6008, Source=EventLog, severity=error, 04.05.2015 18:19:36</p>
<p dir="auto">thanks<br />
Dani</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000002282-nxagentd-debug2.log">nxagentd-debug2.log</a></p>
]]></description><link>https://forum.netxms.org/post/16739</link><guid isPermaLink="true">https://forum.netxms.org/post/16739</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Mon, 04 May 2015 16:24:24 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Thu, 30 Apr 2015 19:07:36 GMT]]></title><description><![CDATA[<p dir="auto">Can you please set debug level to at least 2, reset system again, and check agent's log for message like</p>
<p dir="auto">LogWatch: reading old events between ... and ...</p>
<p dir="auto">and possibly also like this:</p>
<p dir="auto">LogWatch: EvtQuery failed (...)</p>
<p dir="auto">and post those lines and timestamp of "unexpected shutdown" event.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/16731</link><guid isPermaLink="true">https://forum.netxms.org/post/16731</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 30 Apr 2015 19:07:36 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Thu, 30 Apr 2015 14:14:30 GMT]]></title><description><![CDATA[<p dir="auto">I have updated to V2.0-M4, but I see the same issue as before.</p>
<p dir="auto">I tested like this:</p>
<p dir="auto">parser xml:</p>
<pre><code>&lt;parser name="SystemLog"&gt;
  &lt;file&gt;*System&lt;/file&gt;
  &lt;rules&gt;
    &lt;rule&gt;
      &lt;match&gt;(.*)&lt;/match&gt;
      &lt;level&gt;1&lt;/level&gt;
      &lt;event params="1"&gt;100845&lt;/event&gt;
    &lt;/rule&gt;
  &lt;/rules&gt;
&lt;/parser&gt;
</code></pre>
<p dir="auto">I turned off hardly a Win7-x64 virtual machine and started again. But I don't get an event '100845' in NetXMS for the windows error 6008 (last shutdown was unexpected) in the system eventlog.</p>
<p dir="auto">Other windows events while the node is normal working are parsed ok and generate NetXMS events.</p>
]]></description><link>https://forum.netxms.org/post/16728</link><guid isPermaLink="true">https://forum.netxms.org/post/16728</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Thu, 30 Apr 2015 14:14:30 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 29 Apr 2015 18:31:02 GMT]]></title><description><![CDATA[<p dir="auto">It's just made available for download.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/16684</link><guid isPermaLink="true">https://forum.netxms.org/post/16684</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 29 Apr 2015 18:31:02 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 29 Apr 2015 16:36:35 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I will try V2.0-M4 first. When will it be available?</p>
]]></description><link>https://forum.netxms.org/post/16683</link><guid isPermaLink="true">https://forum.netxms.org/post/16683</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Wed, 29 Apr 2015 16:36:35 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 29 Apr 2015 16:29:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it looks perfectly fine. I re-run tests on my system, and agent picks up everything as expected. Let's try to upgrade this system to 2.0-M4 (just to make sure I'm checking latest codebase) , and if it will not help I'll create special build with additional debug.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/16682</link><guid isPermaLink="true">https://forum.netxms.org/post/16682</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 29 Apr 2015 16:29:34 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 29 Apr 2015 08:38:14 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor.<br />
Have you found anything in my config and the registry?</p>
<p dir="auto">thanks<br />
Dani</p>
]]></description><link>https://forum.netxms.org/post/16671</link><guid isPermaLink="true">https://forum.netxms.org/post/16671</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Wed, 29 Apr 2015 08:38:14 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Mon, 20 Apr 2015 15:56:37 GMT]]></title><description><![CDATA[<p dir="auto">Have you found anything in my config and the registry?</p>
]]></description><link>https://forum.netxms.org/post/16561</link><guid isPermaLink="true">https://forum.netxms.org/post/16561</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Mon, 20 Apr 2015 15:56:37 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Mon, 13 Apr 2015 08:14:49 GMT]]></title><description><![CDATA[<p dir="auto">agent config (put together from server agent configuration and agent policy):</p>
<pre><code>MasterServers = netxms.domain.com
ListenPort = 4700
RequireAuthentication = yes
RequireEncryption = yes
EnabledCiphers = 1
SharedSecret = longkey
EnableWatchdog = yes
LogFile = {syslog}
LogFile = ${ProgramFiles}\NetXMS\nxagentd.log
DebugLevel = 0
ConfigIncludeDir = ${ProgramFiles}\NetXMS\etc\nxagentd.conf.d
FileStore = ${ProgramFiles}\NetXMS\var
SubAgent = ecs.nsm
SubAgent = portcheck.nsm
SubAgent = ping.nsm
SubAgent = winperf.nsm
SubAgent = wmi.nsm
SubAgent = logwatch.nsm
SubAgent = filemgr.nsm

[filemgr]
RootFolder = ${SystemDrive}\

[logwatch]
ProcessOfflineEvents = yes
Parser = ${ProgramFiles}\NetXMS\var\eventlog-system-parser.xml
Parser = ${ProgramFiles}\NetXMS\var\eventlog-application-parser.xml
</code></pre>
<p dir="auto">Registry Key HKEY_USERS\.DEFAULT\Software\NetXMS\LogParserLibrary:</p>
<pre><code>LogWatch.Application REG_DWORD 0x552b7a44
LogWatch.System REG_DWORD 0x552b7a78
</code></pre>
]]></description><link>https://forum.netxms.org/post/16392</link><guid isPermaLink="true">https://forum.netxms.org/post/16392</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Mon, 13 Apr 2015 08:14:49 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Mon, 13 Apr 2015 06:55:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">can you please show me your agent config and content of registry entries under HKEY_USERS\.DEFAULT\Software\NetXMS\LogParserLibrary (assuming you run agent under Local System account - otherwise check same registry path under appropriate user)?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/16386</link><guid isPermaLink="true">https://forum.netxms.org/post/16386</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 13 Apr 2015 06:55:57 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Sat, 11 Apr 2015 13:56:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor</p>
<p dir="auto">I come back to #2 and #4:</p>
<p dir="auto">#2: I tested again with V2.0.-M3 but it is not working for me. Can you please check again?</p>
<p dir="auto">#4: For which version is this planned?</p>
<p dir="auto">Thanks, Dani</p>
]]></description><link>https://forum.netxms.org/post/16377</link><guid isPermaLink="true">https://forum.netxms.org/post/16377</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Sat, 11 Apr 2015 13:56:11 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 15 Oct 2014 10:47:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">#2 is implemented in 1.2.17. This is turned off by default to maintain compatibility with previous versions. Setting parameter ProcessOfflineEvents in LogWatch section to yes or true will enable this feature. When on, agent will save timestamp of last processed event and on start will process all events since last processed.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15038</link><guid isPermaLink="true">https://forum.netxms.org/post/15038</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 15 Oct 2014 10:47:33 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 20 Aug 2014 18:38:19 GMT]]></title><description><![CDATA[<p dir="auto">thanks for the update, ok for me.</p>
]]></description><link>https://forum.netxms.org/post/14761</link><guid isPermaLink="true">https://forum.netxms.org/post/14761</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Wed, 20 Aug 2014 18:38:19 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 20 Aug 2014 18:27:27 GMT]]></title><description><![CDATA[<p dir="auto">Yes, seems that it was forgotten. I've created issue in bug tracker (<a href="https://www.radensolutions.com/chiliproject/issues/641" rel="nofollow ugc">https://www.radensolutions.com/chiliproject/issues/641</a>). As for #4, it will be in 2.0 branch, probably close to year end.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14760</link><guid isPermaLink="true">https://forum.netxms.org/post/14760</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 20 Aug 2014 18:27:27 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Wed, 20 Aug 2014 12:37:26 GMT]]></title><description><![CDATA[<p dir="auto">is #2 already implemented? My newest test says NO. (I didn't saw the feature request in the bug tracker)</p>
<p dir="auto">any plans for #4? To deliver the parser files by agent policy is in my opinion the most elegant way.</p>
]]></description><link>https://forum.netxms.org/post/14743</link><guid isPermaLink="true">https://forum.netxms.org/post/14743</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Wed, 20 Aug 2014 12:37:26 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Fri, 16 May 2014 12:56:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor</p>
<p dir="auto">Thanks for your information and your work. I agree with all points.</p>
<p dir="auto">thanks<br />
Dani</p>
]]></description><link>https://forum.netxms.org/post/13898</link><guid isPermaLink="true">https://forum.netxms.org/post/13898</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Fri, 16 May 2014 12:56:52 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Fri, 16 May 2014 11:37:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I won't be able to help you much. #1, #2, and #4 need changes in agent (#4 also in server). #1 is implemented in 1.2.14 (event source, id, and severity passed as three additional parameters for event generated). #2 should be relatively easy to implement, I'll add this as feature request for 1.2.15. For #4 we plan to introduce new policy type to distribute parser configurations across nodes in a same way as you can distribute configuration files, but I cannot promise exact release when it will be implemented.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/13897</link><guid isPermaLink="true">https://forum.netxms.org/post/13897</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 16 May 2014 11:37:12 GMT</pubDate></item><item><title><![CDATA[Reply to Windows EventLog parsing questions on Fri, 16 May 2014 07:13:55 GMT]]></title><description><![CDATA[<p dir="auto">Victor, maybe you could help</p>
]]></description><link>https://forum.netxms.org/post/13896</link><guid isPermaLink="true">https://forum.netxms.org/post/13896</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Fri, 16 May 2014 07:13:55 GMT</pubDate></item></channel></rss>