I want to get a list of all requests that are taking longer then 2 seconds and I think this is correct as the timeTaken_d
appears to be a floating point and would seem to be in seconds.
AzureDiagnostics
| where ResourceType == "APPLICATIONGATEWAYS" and OperationName == "ApplicationGatewayAccess" and timeTaken_d > 2
| project TimeGenerated, host_s, requestUri_s, httpStatus_d, backendPoolName_s, serverRouted_s, timeTaken_d
| order by TimeGenerated desc
However, I have seen elsewhere that this measure is in milliseconds.
Does anyone know for sure? Better still, can someone point me at the docs?