Share via


Consultas para a tabela VIAudit

Auditoria do Video Indexer por ID de conta

Apresentar eventos de auditoria para a conta (AccountId = <ID do Guid>), com um filtro opcional por UPN de utilizador.

VIAudit
| where AccountId == "<AccountId>"  // please fill in the accountId <Guid>
// | where Upn == "<Upn>" // to to filter on a specific user upn, uncomment this line
| limit 100

Video Indexer Auditar os 10 principais utilizadores por operações

Compor o gráfico de tempo dos 10 principais utilizadores por operações, com um ID de conta opcional para filtragem.

// Trend of top 10 active Upn's
VIAudit
// | where AccountId == "<AccountId>"  // to filter on a specific accountId, uncomment this line
| where TimeGenerated > ago(30d)
| summarize count() by Upn
| top 10 by count_ desc
| project Upn
| join (VIAudit
| where TimeGenerated > ago(30d)
| summarize count() by Upn, bin(TimeGenerated,1d)) on Upn
| project TimeGenerated, Upn, count_
| render timechart

Mensagem de erro analisado da Auditoria do Video Indexer

Apresentar eventos com falhas de auditoria com um ID de conta opcional para filtragem.

// Project failures with detailed error message.
VIAudit
// | where AccountId == "<AccountId>"  // to filter on a specific accountId, uncomment this line
| where  Status == "Failure"
| parse Description with "ErrorType: " ErrorType ". Message: " ErrorMessage ". Trace" *
| project TimeGenerated, OperationName, ErrorMessage, ErrorType, CorrelationId, _ResourceId

Operações de Auditoria do Video Indexer falhadas

Apresentar registos de auditoria de todas as tentativas de operações falhadas, com um filtro opcional por ID de conta e UPN de utilizador.

VIAudit
// | where AccountId == "<AccountId>"  // to filter on a specific accountId, uncomment this line
// | where Upn == "<Upn>" // to to filter on a specific user upn, uncomment this line
| where Status == "Failure"
| limit 100