stack kb alerting-v2 get-alerting-v2-execution-history-rules cli command
Auth required
Idempotent
Scope: global
elastic stack kb alerting-v2 get-alerting-v2-execution-history-rules \
--sort <sort> \
--sort-order <sort-order> \
--page <page> \
--per-page <per-page> \
[options]
List rule executions
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--sortenumrequired-
Sort field. Defaults to started_at.
Values: started_at, duration
--sort-orderenumrequired-
Sort direction.
Values: asc, desc
--pagenumberrequired- Page number.
--per-pagenumberrequired- Number of results per page.
--rule-idsstring[]- Rule id filter.
--outcomestring[]- Outcome filter.
--fromstring- Inclusive ISO datetime lower bound on event.start.
--tostring- Inclusive ISO datetime upper bound on event.start.
--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON