Share via


Consultas para a tabela AFSAuditLogs

Consulta de operações de agregação

Liste todos os pedidos UnsuspendAmlFilesystem para uma duração de tempo de atribuição.

AFSAuditLogs
// The OperationName below can be replaced by obtain other operations such as "RebootAmlFilesystemNode" or "AmlFSRefreshHSMToken".
| where OperationName has "UnsuspendAmlFilesystem"
| project TimeGenerated, _ResourceId, ActivityId, ResultSignature, ResultDescription, Location
| sort by TimeGenerated asc
| limit 100

Consulta de pedidos não autorizados

Contagem de pedidos AMLFilesystems falhados devido a acesso não legado.

AFSAuditLogs
// 401 below could be replaced by other result signatures to obtain different operation results.
// For example, 'ResultSignature == 202' to obtain accepted requests.
| where ResultSignature == 401
| summarize count() by _ResourceId, OperationName