Get anomaly detection jobs usage info Added in 5.5.0
Query parameters
-
allow_no_match boolean
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
-
200 application/json
Hide response attributes Show response attributes object
-
Hide jobs attributes Show jobs attributes object
-
assignment_explanation string
For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.
-
Additional properties are allowed.
Hide data_counts attributes Show data_counts attributes object
-
earliest_record_timestamp number
-
last_data_time number
-
latest_record_timestamp number
-
latest_bucket_timestamp number
-
log_time number
-
Additional properties are allowed.
Hide forecasts_stats attributes Show forecasts_stats attributes object
-
memory_bytes object
Additional properties are allowed.
-
processing_time_ms object
Additional properties are allowed.
-
records object
Additional properties are allowed.
-
status object
Hide status attribute Show status attribute object
-
-
Identifier for the anomaly detection job.
-
Additional properties are allowed.
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.
One of: Time unit for milliseconds
-
Values are
ok
,soft_limit
, orhard_limit
. model_bytes number | string Required
model_bytes_exceeded number | string
model_bytes_memory_limit number | string
peak_model_bytes number | string
-
assignment_memory_basis string
-
Values are
ok
orwarn
. -
timestamp number
-
Values are
closing
,closed
,opened
,failed
, oropening
. -
Additional properties are allowed.
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
-
-
deleting boolean
Indicates that the process of deleting the job is in progress but not yet completed. It is only reported when
true
.
-
curl \
-X GET http://api.example.com/_ml/anomaly_detectors/_stats