Windows events not sync
-
Windows events that occur when an agent is disabled are not synchronized when the agent is started. The documentation says that the agent stores the value of the last event in the registry and sends all events since the last synchronization on startup.
-
-
-
Hi Uldis, I tried several possible where to specify the ProcessOfflineEvents parameter with a value of true, but none sent the event after running nxagent again.
I tried
First option:[Logwatch] ProcessOfflineEvents = true [WinEventSync] EventLog = Application [WinEventSync/Application] ProcessOfflineEvents = true WinEventSync = *Second
[WinEventSync] EventLog = Application ProcessOfflineEvents = true [WinEventSync/Application] WinEventSync = *Last
[WinEventSync] EventLog = Application [WinEventSync/Application] ProcessOfflineEvents = true WinEventSync = *By the way, the Logwatch section is only for the logwatch subagent, and for the Windows event is the WinEventSync section. Or this section is common for both subagents?
-
Hi Saksham
In your configuration examples, we note mix-ups between log synchronization and log watch functionalities, those are completely separate and have been such due to historical reasons and that is also reflected in documentation. Here is my LogWatch configuration
SubAgent = logwatch
[LOGWATCH]
ProcessOfflineEvents = trueI have created template "WINDOWS LOG", added Agent Policies where all Windows event IDs generate my custom event in Actions section. I stopped Agent, observed new Windows events generated in Event Viewer->Windows Logs->Security, for example, started up Agent and saw Windows backlog events processed and my custom events genearted for time span when Agent was down. Please try the above scenario from your side.
-
In my environment I only use SubAgent for wineventsync.nsm. I don't use Logwatch. I also don't use the agent policy (I set everything via the INI file of the nx agent).
So if I make a policy and use the logwatch subagent, can I also collect Windows events? -
-
To clarify this - we have two ways of dealing with windows event logs
- logwatch
- wineventsync
Logwatch supports parsing of offline events, while wineventsync currently does not. There is an issue in our bug tracker on this, so some day this will be fixed: https://track.radensolutions.com/issue/NX-1997
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