stack es watcher execute-watch cli command
Auth required
Idempotent
Scope: global
elastic stack es watcher execute-watch [options]
Run a watch.
--idstring- The watch identifier.
--[no-]debug- Defines whether the watch runs in debug mode.
--action-modesstring- Determines how to handle the watch actions as part of the watch execution.
--alternative-inputstring- When present, the watch uses this object as a payload instead of executing its own input.
--[no-]ignore-condition- When set to
true, the watch execution uses the always condition. This can also be specified as an HTTP parameter. --[no-]record-execution- When set to
true, the watch record representing the watch execution result is persisted to the.watcher-historyindex for the current time. In addition, the status of the watch is updated, possibly throttling subsequent runs. This can also be specified as an HTTP parameter. --simulated-actionsstring--trigger-datastring- This structure is parsed as the data of the trigger event that will be used during the watch execution.
--watchstring- When present, this watch is used instead of the one specified in the request. This watch is not persisted to the index and
record_executioncannot be set.
--input-filestring- path to a JSON file to use as command input
-V--[no-]version- Print the Elastic CLI version
--config-filestring- path to a config file (default: ~/.elasticrc.yml)
--use-contextstring- override the active context from the config file
--command-profilestring- restrict available commands to a deployment profile (serverless, stack, default)
--[no-]json- output as JSON
--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}}")
--[no-]dry-run-
validate all inputs and exit without performing any action (preview changes without applying them)