ACSSMSIncomingOperations 數據表的查詢

列出不同的SMS作業

傳回SMS作業和版本組的所有不同組合。

ACSSMSIncomingOperations
| distinct OperationName, OperationVersion 
| limit 100

計算SMS作業持續時間百分位數

計算每個 SMS 作業的 90th、95 和第 99 個執行持續時間百分位數,以毫秒為單位。 您可以針對單一作業或其他百分位數自定義它。

ACSSMSIncomingOperations
// 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

每個SMS作業的前5個IP位址

針對每個 SMS 作業,擷取最多呼叫該作業的 5 個 IP 位址。

ACSSMSIncomingOperations
// | 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

SMS 操作錯誤

列出依重新存取排序的每個SMS錯誤。

ACSSMSIncomingOperations
| where ResultType == "Failed"
| project TimeGenerated, OperationName, OperationVersion, ResultSignature, ResultDescription
| order by TimeGenerated desc
| limit 100

SMS 作業結果計數

針對每個SMS作業,計算傳回結果的類型。

ACSSMSIncomingOperations
| 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