stack es synonyms get-synonym-rule cli command
Auth required
Idempotent
Scope: global
elastic stack es synonyms get-synonym-rule \
--set-id <set-id> \
--rule-id <rule-id> \
[options]
Get a synonym rule.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--set-idstringrequired- The ID of the synonym set to retrieve the synonym rule from.
--rule-idstringrequired- The ID of the synonym rule to retrieve.
--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