How to monitor IIS app pools in Azure

Copper Contributor

@CliveWatson saw your other post on the same. But no logs or event IDs are showing in Log analytics.

Can someone please help with how to monitor the status of application pools in azure. I  am not seeing any events in my log analytics.

3 Replies

@priyanka995 

 

If you have no events, have you setup the collection at all?  https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-sources-windows-events  you need to capture the SYSTEM log (3rd one you see on this link)

 

If you run this, you get NO results at all, then that's your issue

Event | summarize count() by EventID

 

E.g.

Event
| where TimeGenerated > ago(60d)
| parse RenderedDescription with *"serving application pool '" AppPoolName "' was"*   // parse the filed for the pool name
| where AppPoolName == "DefaultAppPool"   // only show where the pool name matches
| summarize count() by AppPoolName , EventLog 

 

Go to Log Analytics and Run Query

AppPoolName EventLog count_
DefaultAppPool System 3
@priyanka995 ,Can you post your steps taken to configure IIS pool monitoring
@CliveWatson Can you please suggest me how to make iis app pool running if it is stopped state and also please let me know if any possible ways to create alert rule based on the tags?