Query's voor de tabel ResourceManagementPublicAccessLogs
Zie de zelfstudie over Log Analytics voor meer informatie over het gebruik van deze query's in Azure Portal. Zie Query voor de REST API.
Het aantal aanvragen groeperen op basis van het IP-adres
Haal het aantal aanvragen op dat toegang heeft tot de resource vanaf een IP-adres.
//List the IP addresses and number of calls
ResourceManagementPublicAccessLogs
| where Category == "PublicAccessLogs"
| summarize count() by CallerIpAddress
Aantal geactiveerde opertions
Het aantal aangevraagde aanvragen tellen.
// Count the number of operations.
ResourceManagementPublicAccessLogs
| where Category == "PublicAccessLogs"
| summarize count() by CorrelationId
Aanroepen op basis van de doel-URI
Grafiek het aantal aanroepen op basis van de doel-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)
Aanroepen op basis van de naam van de bewerking
Het aantal aanvragen tellen op basis van de naam van de bewerking.
// List the operations and their number of calls from the public network
ResourceManagementPublicAccessLogs
| where Category == "PublicAccessLogs"
| summarize count() by OperationName
| order by count_
Oproepen op basis van gebruiker
Tel het aantal aanvragen op basis van object-id's.
// 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_