A VIAudit-tábla lekérdezései
A lekérdezések Azure Portalon való használatáról további információt a Log Analytics oktatóanyagában talál. A REST API-val kapcsolatban lásd a Lekérdezést.
Video indexelő naplózása fiókazonosító szerint
Naplóesemények megjelenítése a fiókhoz (AccountId = <Guid ID>) a felhasználói UPN által választható szűrővel.
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 – Az első 10 felhasználó naplózása műveletek szerint
Az első 10 felhasználó idődiagramjának megjelenítése műveletek szerint, választható fiókazonosítóval a szűréshez.
// 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
Video Indexer Audit parsed hibaüzenet
Sikertelen naplózási események megjelenítése választható fiókazonosítóval a szűréshez.
// 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
A Video Indexer naplózása meghiúsult műveletek
Az összes sikertelen művelet naplóinak megjelenítése opcionális szűrővel a fiókazonosító és a felhasználói UPN alapján.
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