Skip to content

Commit 19b0227

Browse files
Merge pull request #212805 from Itnorman/patch-16
Update monitor-video-indexer.md
2 parents f620d60 + d70ecca commit 19b0227

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

articles/azure-video-indexer/monitor-video-indexer.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ See [Create diagnostic setting to collect platform logs and metrics in Azure](/a
6666

6767
| Category | Description |
6868
|:---|:---|
69-
|Audit | Read/Write operations|
69+
|Audit | Read/Write operations|
70+
|Indexing Logs| Monitor the indexing process form upload to indexing and Re-indexing when needed|
7071

7172
:::image type="content" source="./media/monitor/toc-diagnostics-save.png" alt-text="Screenshot of diagnostic settings." lightbox="./media/monitor/toc-diagnostics-save.png":::
7273

@@ -113,6 +114,7 @@ For a list of the tables used by Azure Monitor Logs and queryable by Log Analyti
113114

114115
### Sample Kusto queries
115116

117+
#### Audit related sample queries
116118
<!-- REQUIRED if you support logs. Please keep headings in this order -->
117119
<!-- Add sample Log Analytics Kusto queries for your service. -->
118120

@@ -140,6 +142,35 @@ VIAudit
140142
| project TimeGenerated, OperationName, ErrorMessage, ErrorType, CorrelationId, _ResourceId
141143
```
142144

145+
#### Indexing realted sample queries
146+
147+
```kusto
148+
// Display Video Indexer Account logs of all failed indexing operations.
149+
VIIndexing
150+
// | where AccountId == "<AccountId>" // to filter on a specific accountId, uncomment this line
151+
| where Status == "Failure"
152+
| summarize count() by bin(TimeGenerated, 1d)
153+
| render columnchart
154+
```
155+
156+
```kusto
157+
// Video Indexer top 10 users by operations
158+
// Render timechart of top 10 users by operations, with an optional account id for filtering.
159+
// Trend of top 10 active Upn's
160+
VIIndexing
161+
// | where AccountId == "<AccountId>" // to filter on a specific accountId, uncomment this line
162+
| where OperationName in ("IndexingStarted", "ReindexingStarted")
163+
| summarize count() by Upn
164+
| top 10 by count_ desc
165+
| project Upn
166+
| join (VIIndexing
167+
| where TimeGenerated > ago(30d)
168+
| where OperationName in ("IndexingStarted", "ReindexingStarted")
169+
| summarize count() by Upn, bin(TimeGenerated,1d)) on Upn
170+
| project TimeGenerated, Upn, count_
171+
| render timechart
172+
```
173+
143174
## Alerts
144175

145176
<!-- SUGGESTED: Include useful alerts on metrics, logs, log conditions or activity log. Ask your PMs if you don't know.

0 commit comments

Comments
 (0)