Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
För information om hur du använder dessa frågor i Azure-portalen, se Log Analytics-handledning. Information om REST-API:et finns i Fråga.
Lista distinkta autentiseringsoperationer
Returnerar alla distinkta kombinationer av autentiseringsoperation och versionspar.
ACSAuthIncomingOperations
| distinct OperationName, OperationVersion 
| limit 100
Beräkna autentiseringsoperationens varaktighetspercentiler
Beräknar de 90:e, 95:e, och 99:e percentilerna av körtiden i millisekunder för varje autentiseringsoperation. Den kan anpassas för att köras för en enskild operation eller för andra percentiler.
ACSAuthIncomingOperations
// where OperationName == "<operation>" // This can be uncommented and specified to calculate only a single operation's duration percentiles
| summarize percentiles(DurationMs, 90, 95, 99) by OperationName, OperationVersion // calculate 90th, 95th, and 99th percentiles of each Operation
| limit 100
Top 5 IP-adresser per autentiseringsoperation
För varje autentiseringsoperation, hämta de 5 IP-adresser som har kallat den operationen mest.
ACSAuthIncomingOperations
// | where OperationName == "<operation>" // This can be uncommented and specified to calculate only a single operation's count
| top-nested of OperationName by dummy=max(0), // For all the Operations...
  top-nested 5 of CallerIpAddress by count() // List the IP address that have called that operation the most
| project-away dummy // Remove dummy line from the result set
| limit 100
Operativa autentiseringsfel
Lista varje autentiseringsfel sorterat efter senaste.
ACSAuthIncomingOperations
| where ResultType == "Failed"
| project TimeGenerated, OperationName, OperationVersion, ResultSignature, ResultDescription
| order by TimeGenerated desc
| limit 100
Resultaträkning av autentiseringsoperationer
För varje autentiseringsoperation, räkna typerna av de returnerade resultaten.
ACSAuthIncomingOperations
| summarize Count = count() by OperationName, ResultType //, ResultSignature // This can also be uncommented to determine the count of each ResultSignature for each ResultType 
| order by OperationName asc, Count desc
| limit 100