Windows EventLog parsing questions
-
Hi Victor
Here the agent log with debuglevel=2. There was no "LogWatch: EvtQuery failed (...)".
There were these events for example before the NetXMS agent started:
Event-ID 41, Source=Kernel-Power, severity=critical, 04.05.2015 18:19:34
Event-ID 6008, Source=EventLog, severity=error, 04.05.2015 18:19:36thanks
Dani
-
-
-
Hello Victor,
is it possible to add the user name of the Windows event log entry to the event parameters?
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.Greetings
Ben -
-
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?
Best regards,
Victor -
Hi Victor
Very strange. I have tested with a Win7, a Win8.1 and a Win2012R2 node. All with the same negative result.
How did you tested?My test was like this:
Logwatch section of the agent config:
[logwatch] ProcessOfflineEvents = yes Parser = ${ProgramFiles}\NetXMS\var\eventlog-system-parser.xml Parser = ${ProgramFiles}\NetXMS\var\eventlog-application-parser.xmlParser (file: eventlog-system-parser.xml):
<parser name="SystemLog"> <file>*System</file> <rules> <rule> <match>(.*)</match> <level>1</level> <event params="1">100845</event> </rule> </rules> </parser>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).
While normal operation I get a NetXMS event for every error in Windows Eventlog. I only have problems with offline events.thanks
Dani
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login