Kusto queries App Service & AGW

From UVOO Tech Wiki
Revision as of 22:11, 26 June 2024 by Busk (talk | contribs) (Created page with "Go to Application Insights for Service and logs ``` requests | where url contains 'https://my-app-service.azurewebsites.net' | where name contains 'health' | summarize count(...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Go to Application Insights for Service and logs

requests
| where url contains 'https://my-app-service.azurewebsites.net'
| where name contains 'health'
| summarize count() by bin(timestamp, 15m), resultCode

?? not sure how well this works

AzureDiagnostics
| where ResourceType == "APPLICATIONGATEWAYS" and OperationName == "ApplicationGatewayAccess" and host_s == "my-app-service.azurewebsites.net"