你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
针对 VIIndexing 表的查询
有关在Azure 门户中使用这些查询的信息,请参阅 Log Analytics 教程。 有关 REST API,请参阅 查询。
失败的索引操作
显示所有失败索引操作的视频索引器帐户日志。
// Failed Indexing operations
// Display Video Indexer Account logs of all failed indexing operations.
VIIndexing
// | where AccountId == "<AccountId>" // to filter on a specific accountId, uncomment this line
| where Status == "Failure"
| summarize count() by bin(TimeGenerated, 1d)
| render columnchart
前 10 位用户
汇总前 10 个用户。
// Video Indexer top 10 users by operations
// Render timechart of top 10 users by operations, with an optional account id for filtering.
// Trend of top 10 active Upn's
VIIndexing
// | where AccountId == "<AccountId>" // to filter on a specific accountId, uncomment this line
| where OperationName in ("IndexingStarted", "ReindexingStarted")
| summarize count() by Upn
| top 10 by count_ desc
| project Upn
| join (VIIndexing
| where TimeGenerated > ago(30d)
| where OperationName in ("IndexingStarted", "ReindexingStarted")
| summarize count() by Upn, bin(TimeGenerated,1d)) on Upn
| project TimeGenerated, Upn, count_
| render timechart