Zapytania dotyczące tabeli ResourceManagementPublicAccessLogs

Grupowanie liczby żądań na podstawie adresu IP

Uzyskaj liczbę żądań uzyskujących dostęp do zasobu z adresu IP.

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

Liczba wyzwolonych operacji

Zlicz liczbę wykonanych żądań.

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

Wywołania oparte na docelowym identyfikatorze URI

Wykres liczby wywołań na podstawie docelowego identyfikatora 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) 

Wywołania oparte na nazwie operacji

Zlicz liczbę żądań wykonanych na podstawie nazwy operacji.

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

Wywołania oparte na użytkowniku

Zlicz liczbę żądań wykonanych na podstawie identyfikatorów obiektów.

// 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_