AGCAccessLogs テーブルのクエリ

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

1 時間あたりのクライアント要求数

クライアント要求の時間単位の数。

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

1 時間あたり 5xx HTTP 応答

1 時間に 5xx 応答が発生したクライアント要求の数。

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

1 時間あたり 4xx HTTP 応答

1 時間に 4xx 応答が発生したクライアント要求の数。

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