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-fieldenumrequired-
Sort field. Defaults to started_at.
Values: started_at, duration_ms
--sort-orderenumrequired-
Sort direction.
Values: asc, desc
--pagenumberrequired- Page number.
--per-pagenumberrequired- Number of results per page. Pass 0 for a count-only read.
--rule-idsstring[]-
Rule id filter.
Repeatable: pass
--rule-idsmultiple times to supply more than one value --outcomesstring[]-
Outcome filter.
Repeatable: pass
--outcomesmultiple times to supply more than one value --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)
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON