Application Gateway scale operations

Copper Contributor

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? 

1 Reply

@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