ChaosStudioExperimentEventLogs 表的查询
有关在 Azure 门户中使用这些查询的信息,请参阅 Log Analytics 教程。 有关 REST API,请参阅查询。
失败的试验运行
列出失败的试验运行。
ChaosStudioExperimentEventLogs
| where Status == 'Failed' and SpanType == 'Experiment'
| sort by TimeGenerated desc
上次试验运行的试验事件
列出上次试验运行的试验事件。
ChaosStudioExperimentEventLogs
| lookup kind=inner (
ChaosStudioExperimentEventLogs
| top 1 by TimeGenerated desc
| project CorrelationId
) on CorrelationId
| order by TimeGenerated asc