Forum Discussion

phatcher's avatar
phatcher
Copper Contributor
Jun 10, 2024

App Service health checks as KQL

I have health check endpoints on each of my APIs and can see the result timeline via the portal.

 

What I would like to do is to have a query so that I can have visualize this across multiple APIs and present these via a honeycomb diagram, but I'm struggling as to what I should query for.

  • Take this:

     

    AppServiceHealthCheckEvents
    | where TimeGenerated > ago(30d)
    | where Result == "Unhealthy"
    | summarize Count = count() by ApiName, InstanceId
    | render honeycomb(ApiName, InstanceId, Count)
    

     

Resources