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
-
count
number Required -
jobs
array[object] Required 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.
-
data_counts
object Required Additional properties are allowed.
Hide data_counts attributes Show data_counts attributes object
-
bucket_count
number Required -
earliest_record_timestamp
number -
empty_bucket_count
number Required -
input_bytes
number Required -
input_field_count
number Required -
input_record_count
number Required -
invalid_date_count
number Required -
job_id
string Required -
last_data_time
number -
latest_record_timestamp
number -
latest_bucket_timestamp
number -
log_time
number -
missing_field_count
number Required -
out_of_order_timestamp_count
number Required -
processed_field_count
number Required -
processed_record_count
number Required -
sparse_bucket_count
number Required
-
-
forecasts_stats
object Required 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
-
*
number Additional properties
-
-
total
number Required -
forecasted_jobs
number Required
-
-
job_id
string Required Identifier for the anomaly detection job.
-
model_size_stats
object Required Additional properties are allowed.
Hide model_size_stats attributes Show model_size_stats attributes object
-
bucket_allocation_failures_count
number Required -
job_id
string Required 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
-
memory_status
string Required 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 -
result_type
string Required -
total_by_field_count
number Required -
total_over_field_count
number Required -
total_partition_field_count
number Required -
categorization_status
string Required Values are
ok
orwarn
. -
categorized_doc_count
number Required -
dead_category_count
number Required -
failed_category_count
number Required -
frequent_category_count
number Required -
rare_category_count
number Required -
total_category_count
number Required -
timestamp
number
-
-
state
string Required Values are
closing
,closed
,opened
,failed
, oropening
. -
timing_stats
object Required Additional properties are allowed.
Hide timing_stats attributes Show timing_stats attributes object
-
Time unit for fractional milliseconds
-
bucket_count
number Required -
Time unit for fractional milliseconds
-
Time unit for fractional milliseconds
-
job_id
string Required -
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 \
--request GET http://api.example.com/_ml/anomaly_detectors/_stats \
--header "Authorization: $API_KEY"