StorageCacheWarningEvents 表的查询

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

活动警告事件

检索尚未清除的警告事件的列表。

StorageCacheWarningEvents
| where State == "Active"
| project TimeGenerated, CorrelationId, Description, _ResourceId, State
| join kind=leftanti (StorageCacheWarningEvents
    | where State == "Cleared"
        | project TimeGenerated, CorrelationId, Description, _ResourceId, State)
    on CorrelationId
| project TimeGenerated, CorrelationId, Description, _ResourceId, State
| take 100