Condividi tramite


Query per la tabella ResourceManagementPublicAccessLogs

Numero di richieste in base all'indirizzo IP

Ottenere il numero di richieste che accedono alla risorsa da un indirizzo IP.

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

Numero di operzioni attivate

Contare il numero di richieste effettuate.

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

Chiamate basate sull'URI di destinazione

Grafico del numero di chiamate in base all'URI di destinazione.

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

Chiamate basate sul nome dell'operazione

Contare il numero di richieste effettuate in base al nome dell'operazione.

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

Chiamate basate sull'utente

Contare il numero di richieste effettuate in base agli identificatori di oggetto.

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