Sdílet prostřednictvím


Dotazy na tabulku ResourceManagementPublicAccessLogs

Seskupení počtu požadavků na základě IP adresy

Získejte počet žádostí o přístup k prostředku z IP adresy.

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

Počet aktivovaných funkčních akcí

Spočítejte počet provedených žádostí.

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

Volání na základě cílového identifikátoru URI

Vymapujte počet volání na základě cílového identifikátoru 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) 

Volání na základě názvu operace

Spočítejte počet požadavků na základě názvu operace.

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

Volání na základě uživatele

Spočítejte počet požadavků na základě identifikátorů objektů.

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