Loading

stack es query-rules get-rule cli command

Auth required Idempotent Scope: global
elastic stack es query-rules get-rule \
  --ruleset-id <ruleset-id> \
  --rule-id <rule-id> \
  [options]
		

Get a query rule.

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--ruleset-id string required
The unique identifier of the query ruleset containing the rule to retrieve
--rule-id string required
The unique identifier of the query rule within the specified ruleset to retrieve
--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON