Share via


Consultas para a tabela ACSSMSIncomingOperations

Listar operações sms distintas

Devolve todas as combinações distintas de operações SMS e pares de versões.

ACSSMSIncomingOperations
| distinct OperationName, OperationVersion 
| limit 100

Calcular percentis de duração da operação SMS

Calcula os percentis 90, 95 e 99 da duração da execução em milissegundos para cada operação SMS. Pode ser personalizado para ser executado para uma única operação ou para outros percentis.

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

5 principais endereços IP por operação SMS

Para cada operação SMS, obtenha os 5 endereços IP que mais chamaram essa operação.

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

Erros operacionais de SMS

Listar todos os erros de SMS ordenados por receência.

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

Contagens de resultados da operação SMS

Para cada operação SMS, conte os tipos de resultados devolvidos.

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