次の方法で共有


AGCAccessLogsテーブルに対するクエリ

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

1時間あたりのクライアントリクエスト件数

クライアントのリクエスト数を1時間ごとにカウントすること。

AGCAccessLogs
| summarize AggregatedValue = count() by bin(TimeGenerated, 1h), _ResourceId
| render timechart

1 時間あたりの 5xx HTTP 応答

5xx 応答となったクライアント要求の 1 時間あたりの数。

AGCAccessLogs
| where HttpStatusCode > 499 and HttpStatusCode < 600
| summarize AggregatedValue = count() by bin(TimeGenerated, 1h), _ResourceId
| render timechart

1時間あたりの4xx HTTP応答件数

4xx 応答となったクライアント要求の 1 時間あたりの数。

AGCAccessLogs
| where HttpStatusCode > 399 and HttpStatusCode < 500
| summarize AggregatedValue = count() by bin(TimeGenerated, 1h), _ResourceId
| render timechart