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-field <sort-field> \
  --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-field enum required

Sort field. Defaults to started_at.

Values: started_at, duration_ms

--sort-order enum required

Sort direction.

Values: asc, desc

--page number required
Page number.
--per-page number required
Number of results per page. Pass 0 for a count-only read.
--rule-ids string[]

Rule id filter.

Repeatable: pass --rule-ids multiple times to supply more than one value

--outcomes string[]

Outcome filter.

Repeatable: pass --outcomes multiple times to supply more than one value

--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)
--no-validate
skip input validation and send the request as-is
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON