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

--sort enum required

Sort field. Defaults to started_at.

Values: started_at, duration

--sort-order enum required

Sort direction.

Values: asc, desc

--page number required
Page number.
--per-page number required
Number of results per page.
--rule-ids string[]
Rule id filter.
--outcome string[]
Outcome filter.
--from string
Inclusive ISO datetime lower bound on event.start.
--to string
Inclusive ISO datetime upper bound on event.start.
--input-file string
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