ACSAuthIncomingOperations 數據表的查詢
如需在 Azure 入口網站 中使用這些查詢的詳細資訊,請參閱Log Analytics教學課程。 如需 REST API,請參閱 查詢。
列出不同的驗證作業
傳回驗證作業和版本組的所有不同組合。
ACSAuthIncomingOperations
| distinct OperationName, OperationVersion
| limit 100
計算驗證作業持續時間百分位數
計算每個驗證作業的 90th、95 和 99 百分位數,以毫秒為單位執行持續時間。 您可以針對單一作業或其他百分位數自定義它。
ACSAuthIncomingOperations
// where OperationName == "<operation>" // This can be uncommented and specified to calculate only a single operation's duration percentiles
| summarize percentiles(DurationMs, 90, 95, 99) by OperationName, OperationVersion // calculate 90th, 95th, and 99th percentiles of each Operation
| limit 100
每個驗證作業的前 5 個 IP 位址
針對每個驗證作業,擷取最多呼叫該作業的 5 個 IP 位址。
ACSAuthIncomingOperations
// | where OperationName == "<operation>" // This can be uncommented and specified to calculate only a single operation's count
| top-nested of OperationName by dummy=max(0), // For all the Operations...
top-nested 5 of CallerIpAddress by count() // List the IP address that have called that operation the most
| project-away dummy // Remove dummy line from the result set
| limit 100
驗證作業錯誤
列出依重新存取排序的每個驗證錯誤。
ACSAuthIncomingOperations
| where ResultType == "Failed"
| project TimeGenerated, OperationName, OperationVersion, ResultSignature, ResultDescription
| order by TimeGenerated desc
| limit 100
驗證作業結果計數
針對每個驗證作業,計算傳回結果的類型。
ACSAuthIncomingOperations
| summarize Count = count() by OperationName, ResultType //, ResultSignature // This can also be uncommented to determine the count of each ResultSignature for each ResultType
| order by OperationName asc, Count desc
| limit 100