Loading

stack es query-rules put-ruleset cli command

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

Create or update a query ruleset.

Behaviour flags:

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

--ruleset-id string required
The unique identifier of the query ruleset to be created or updated.
--rules string required

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

--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