StorageCacheOperationEvents 表的查询

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

失败的操作

检索返回失败响应代码的操作列表。

StorageCacheOperationEvents
| where ResponseCode < 200 or ResponseCode >= 300
| sort by TimeGenerated desc
| take 100

失败的启动作业

检索失败的启动作业的列表。

StorageCacheOperationEvents
| where OperationName contains "Priming"
| where ResultType == "Failed"
| project  TimeGenerated, OperationName, PrimingJobName, ResultDescription, _ResourceId, CorrelationId, Location
| sort by TimeGenerated desc
| take 100

已完成长时间运行的异步操作

检索已完成的长时间运行的操作的列表。

StorageCacheOperationEvents
| where ResponseCode == 201 or ResponseCode == 202
| where ResultType == "Succeeded" 
| sort by TimeGenerated desc
| take 100