对 FailedIngestion 表的查询

有关在 Azure 门户中使用这些查询的信息,请参阅 Log Analytics 教程。 有关 REST API,请参阅查询

按错误列出的失败引入

累计的引入失败次数(按错误代码分组)。

FailedIngestion 
| summarize count() by ErrorCode

失败的引入时间图表

累计的引入失败次数(时间图表)。

FailedIngestion 
| summarize count() by bin(TimeGenerated, 5m) 
| render timechart 

失败的引入

累计的引入失败次数(按群集、数据库、表、错误代码、状态分组)。

FailedIngestion 
| parse _ResourceId with * "providers/microsoft.kusto/clusters/" cluster_name // Get the cluster name from the ResourceId string
| summarize count() by bin(TimeGenerated, 1h), cluster_name, Database, Table, ErrorCode, FailureStatus