stack es ml close-job cli command
Auth required
elastic stack es ml close-job --job-id <job-id> [options]
Close anomaly detection jobs.
--job-idstringrequired- Identifier for the anomaly detection job. It can be a job identifier, a group name, or a wildcard expression. You can close multiple anomaly detection jobs in a single API request by using a group name, a comma-separated list of jobs, or a wildcard expression. You can close all jobs by using
_allor by specifying*as the job identifier. --[no-]allow-no-match- Refer to the description for the
allow_no_matchquery parameter. --[no-]force- Refer to the descriptiion for the
forcequery parameter. --timeoutstring- Refer to the description for the
timeoutquery parameter.
--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)