Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
06-15-2018
12:09 PM
- last edited on
09-19-2022
02:28 PM
by
Claudia.Landiva
Hi Team,
Can anyone help me like we need to monitor our windows logs or service event logs which is running in our local event viewer server to appdynamics and find out the error and warning logs information
Please let me know how we should achieve this functionality in app dynamics. Can anyone help me with exact configuration steps for this
Appreciate for help
Thanks
Eshwar
Edited for clarity. 9/19/22, C. Landivar
06-19-2018 10:21 PM
Hi Eshawar,
Please use the following extension
https://www.appdynamics.com/community/exchange/windows-event-log-monitor/
Thanks,
Raunak
03-14-2019 04:11 AM
hi eshwar, did you get any help on this ? i am facing the same problem how to filter and send errors via appdyn. maybe you have some helpful hints for me.
rgds, helmut.
10-15-2019 04:23 PM
I want to use the windows event log monitor to monitor windows updates by looking at the setup log. The extension works when configured to look at system, security or application logs however when configured for setup logs it throws an error.
The only thing i can find which may be the cause is this stackoverflow question which indicates that it won't work (https://stackoverflow.com/questions/12663703/geteventlogs-returns-no-setup-event-log) with the setup log however the extension page explicitly says it does support setup logs (https://www.appdynamics.com/community/exchange/windows-event-log-monitor/).
Stack trace from extension log:
2019/10/15 23:43:30.728 Error ExtensionLoader :Failed to start extension WindowsEventLogMonitor System.InvalidOperationException: The event log 'Setup' on computer '.' does not exist.
at System.Diagnostics.EventLogInternal.OpenForRead(String currentMachineName)
at System.Diagnostics.EventLogInternal.get_EntryCount()
at System.Diagnostics.EventLogInternal.StartListening(String currentMachineName, String currentLogName)
at System.Diagnostics.EventLogInternal.StartRaisingEvents(String currentMachineName, String currentLogName)
at System.Diagnostics.EventLogInternal.set_EnableRaisingEvents(Boolean value)
at AppDynamics.Infrastructure.Extensions.WindowsEventLogMonitor.Execute()
at AppDynamics.Infrastructure.Framework.Extension.ExtensionContainer.Start()
at AppDynamics.Infrastructure.Framework.Extension.ExtensionLoader.StartExtensions() at System.Diagnostics.EventLogInternal.OpenForRead(String currentMachineName)
at System.Diagnostics.EventLogInternal.get_EntryCount()
at System.Diagnostics.EventLogInternal.StartListening(String currentMachineName, String currentLogName)
at System.Diagnostics.EventLogInternal.StartRaisingEvents(String currentMachineName, String currentLogName)
at System.Diagnostics.EventLogInternal.set_EnableRaisingEvents(Boolean value)
at AppDynamics.Infrastructure.Extensions.WindowsEventLogMonitor.Execute()
at AppDynamics.Infrastructure.Framework.Extension.ExtensionContainer.Start()
at AppDynamics.Infrastructure.Framework.Extension.ExtensionLoader.StartExtensions()
10-16-2019 10:11 AM
Hi Mark,
Thanks for your investigation. This is a known issue and we have an enhancement request to support all non-classic event sources including Setup.
As you pointed, the document needs to be corrected for now and I hope we can expedite the feature update as well. I will update here once we publish new changes.
Anurag
12-16-2019 02:16 AM
Hi,
May I also know if we can setup alerting on the events received from the event viewer. If yes, please let us know the steps.
12-17-2019 10:08 AM
You have to create a custom health rule based on the specific eventid, and then create a Policy to trigger an alert. Just make sure to use Type as the name of extension. You can try using custom event type = "WindowsEventLogMonitor", this needs to be the name of the extension, as provided in the extension.xml file.
Also the event properties exposed are
eventid
eventsource
machinename
07-06-2020 03:00 PM
Hello all,
The extension was recently updated and now can be used to monitor the events entries. You can find the extension here: https://www.appdynamics.com/community/exchange/windows-event-log-monitor/
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
09-06-2022 02:04 PM
Hello, any property to filer based on the message contained in the log?
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form