ACSSMSIncomingOperations テーブルのクエリ

Azure portal でこれらのクエリを使用する方法については、 Log Analytics のチュートリアルを参照してください。 REST API については、「 Query」を参照してください。

個別の SMS 操作を一覧表示する

SMS 操作とバージョンのペアのすべての個別の組み合わせを返します。

ACSSMSIncomingOperations
| distinct OperationName, OperationVersion 
| limit 100

SMS 操作の期間のパーセンタイルを計算する

各 SMS 操作の実行時間の 90 パーセンタイル、95 パーセンタイル、および 99 パーセンタイルをミリ秒単位で計算します。 1 回の操作または他のパーセンタイルに対して実行するようにカスタマイズできます。

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