Forum Discussion

priyanka995's avatar
priyanka995
Copper Contributor
Oct 09, 2019

How to monitor IIS app pools in Azure

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.

  • 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
    • Raviteja_Kotha's avatar
      Raviteja_Kotha
      Copper Contributor
      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?

Resources