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-idstringrequired- The unique identifier of the query ruleset to be created or updated.
--rulesstringrequired-
Repeatable: pass
--rulesmultiple times to supply more than one value --input-filestring- 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