NetXMS Support Forum

English Support => General Support => Topic started by: gdodd on December 16, 2020, 08:23:18 PM

Title: Windows event log synchronization
Post by: gdodd on December 16, 2020, 08:23:18 PM
Is there any available information regarding "Windows event log synchronization, server side parsing and agent side filtering" from the 3.6 release notes? It sounds like it is different than the Parser Definition file.
Title: Re: Windows event log synchronization
Post by: Tursiops on January 15, 2021, 04:25:25 AM
You can load the agent inside the Agent Configuration:
SubAgent=wineventsync.nsm

To enable syncing of logs, you next need to tell it which logs to monitor, see example below:

[WinEventSync]
EventLog=Application
EventLog=Security
EventLog=System


Now you need to configure the Events you want to monitor. You can setup filters per log in a [WinEventSync/LOGNAME] section. If you don't configure any filters, you'll get everything for that log:

[WinEventSync/Security]
IncludeEvent=4624-4625
IncludeEvent=4800-4803
...
ExcludeEvent=0-65535

[WinEventSync/System]
IncludeSource=Microsoft-Windows-WindowsUpdateClient
...
ExcludeSource=*


The above are just examples.
A few notes:
Title: Re: Windows event log synchronization
Post by: gdodd on January 20, 2021, 08:20:13 PM
Thank you for the detailed response. This is exactly what I needed.