Бөлісу құралы:


Запросы для таблицы ResourceManagementPublicAccessLogs

Группировать количество запросов на основе IP-адреса

Получение количества запросов, обращаюющихся к ресурсу с IP-адреса.

//List the IP addresses and number of calls
ResourceManagementPublicAccessLogs
| where Category == "PublicAccessLogs"
| summarize count() by CallerIpAddress 

Количество активированных операций

Подсчитайте количество выполненных запросов.

// Count the number of operations.
ResourceManagementPublicAccessLogs
| where Category == "PublicAccessLogs"
| summarize count() by CorrelationId 

Вызовы на основе целевого URI

Диаграмма количества вызовов на основе целевого URI.

// Chart the number of calls based on the target URI.
ResourceManagementPublicAccessLogs
| where Category == "PublicAccessLogs"
| summarize count() by Uri, bin(TimeGenerated, 1m)
| render columnchart with (kind=stacked) 

Вызовы на основе имени операции

Подсчитайте количество запросов, выполненных на основе имени операции.

// List the operations and their number of calls from the public network
ResourceManagementPublicAccessLogs
| where Category == "PublicAccessLogs"
| summarize count() by OperationName
| order by count_

Вызовы на основе пользователя

Подсчитайте количество запросов, выполненных на основе идентификаторов объектов.

// List the object identifiers and number of calls from each over the public network
ResourceManagementPublicAccessLogs
| where Category == "PublicAccessLogs"
| summarize count() by ObjectIdentifier
| order by count_