有关在 Azure 门户中使用这些查询的信息,请参阅 Log Analytics 教程。 有关 REST API,请参阅查询。
Microsoft Entra 身份验证审核日志
记录 Microsoft Entra 身份验证审核事件。
source
| project
TimeGenerated = todatetime(['time']),
Location = ___location,
OperationName = operationName,
CacheName = tostring(properties.tenant),
Message = tostring(properties.auditLog.message),
Authentication = tostring(properties.auditLog.authentication),
Username = tostring(properties.auditLog.username),
IpAddress = tostring(properties.auditLog.ipAddress),
ClientId = tostring(properties.auditLog.clientId),
ClientName = tostring(properties.auditLog.clientName),
Lifetime = tostring(properties.auditLog.lifetime),
RoleInstance = toint(properties.roleInstance)