Sdílet prostřednictvím


Dotazy na tabulku ChaosStudioExperimentEventLogs

Informace o používání těchto dotazů na webu Azure Portal najdete v kurzu služby Log Analytics. Informace o rozhraní REST API najdete v tématu Dotaz.

Neúspěšná spuštění experimentu

Zobrazení seznamu neúspěšných spuštění experimentu

ChaosStudioExperimentEventLogs
| where Status == 'Failed' and SpanType == 'Experiment'
| sort by TimeGenerated desc

Události experimentu při posledním spuštění experimentu

Vypíše události experimentu při posledním spuštění experimentu.

ChaosStudioExperimentEventLogs
| lookup kind=inner (
    ChaosStudioExperimentEventLogs
    | top 1 by TimeGenerated desc
    | project CorrelationId
) on CorrelationId
| order by TimeGenerated asc