Forum Discussion
snvvk
Nov 30, 2020Copper Contributor
Application Gateway scale operations
I have all my Application Gateway logs going to a Log Analytics work space. What is the query to get the count of Application Gateway scale operations per day/per month?
CliveWatson
Dec 07, 2020Former Employee
snvvk What do you mean by a "scale operation" is this a count, this shows the daily count for the last 7 days per instance? There are WAF logs as well as the Auditlogs?
i.e.
AzureDiagnostics
| where TimeGenerated > startofday(ago(7d))
| where Category == "ApplicationGatewayAccessLog"
| summarize count() by instanceId_s, bin(TimeGenerated,1d)
| order by TimeGenerated desc, instanceId_s asc
//| render areachart