Path parameters
-
Identifier for the anomaly detection job. It can be a job identifier, a group name, a comma-separated list of jobs, or a wildcard expression. If you do not specify one of these options, the API returns information for all anomaly detection jobs.
Query parameters
-
Specifies what to do when the request:
- Contains wildcard expressions and there are no jobs that match.
- Contains the _all string or no identifiers and there are no matches.
- Contains wildcard expressions and there are only partial matches.
If
true
, the API returns an emptyjobs
array when there are no matches and the subset of results when there are partial matches. Iffalse
, the API returns a404
status code when there are no matches or only partial matches.
Responses
-
Hide response attributes Show response attributes object
-
Hide jobs attributes Show jobs attributes object
-
For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.
-
Hide data_counts attributes Show data_counts attributes object
-
Hide forecasts_stats attributes Show forecasts_stats attributes object
-
Identifier for the anomaly detection job.
-
Hide model_size_stats attributes Show model_size_stats attributes object
log_time
string | number Required A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a number of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string representation.
-
Values are
ok
,soft_limit
, orhard_limit
. -
Values are
ok
orwarn
.
-
Values are
closing
,closed
,opened
,failed
, oropening
. -
Hide timing_stats attributes Show timing_stats attributes object
-
Time unit for fractional milliseconds
-
Time unit for fractional milliseconds
-
Time unit for fractional milliseconds
-
Time unit for fractional milliseconds
-
Time unit for fractional milliseconds
-
Time unit for fractional milliseconds
-
-
Indicates that the process of deleting the job is in progress but not yet completed. It is only reported when
true
.
-
curl \
--request GET 'http://api.example.com/_ml/anomaly_detectors/{job_id}/_stats' \
--header "Authorization: $API_KEY"