The get job statistics API provides information about the operational progress of a job.
assignment_explanation
data_counts
job_id
model_size_stats
forecasts_stats
node
open_time
28746386s
.
state
(string) The status of the job, which can be one of the following values:
opened
closed
closing
failed
opening
The data_counts
object describes the number of records processed
and any related error counts.
The data_count
values are cumulative for the lifetime of a job. If a model snapshot is reverted
or old results are deleted, the job counts are not reset.
bucket_count
earliest_record_timestamp
empty_bucket_count
bucket_span
or using functions that are tolerant
to gaps in data such as mean
, non_null_sum
or non_zero_count
.
input_bytes
input_field_count
input_record_count
invalid_date_count
job_id
last_data_time
latest_empty_bucket_timestamp
latest_record_timestamp
latest_sparse_bucket_timestamp
missing_field_count
processed_record_count
includes this count.
If you are using datafeeds or posting data to the job in JSON format, a
high missing_field_count
is often not an indication of data issues. It is not
necessarily a cause for concern.
out_of_order_timestamp_count
processed_field_count
processed_record_count
processed_record_count
will be the number of aggregated records
processed, not the number of Elasticsearch documents.
sparse_bucket_count
bucket_span
.
The model_size_stats
object has the following properties:
bucket_allocation_failures_count
hard_limit: memory_status
property value.
job_id
log_time
model_size_stats
according to server time.
memory_status
(string) The status of the mathematical models. This property can have one of the following values:
ok
soft_limit
hard_limit
model_bytes
result_type
total_by_field_count
by
field values that were analyzed by the models.+
The by
field values are counted separately for each detector and partition.
total_over_field_count
over
field values that were analyzed by the models.+
The over
field values are counted separately for each detector and partition.
total_partition_field_count
partition
field values that were analyzed by the models.
timestamp
model_size_stats
according to the timestamp of the data.
The forecasts_stats
object shows statistics about forecasts. It has the following properties:
total
forecasted_jobs
memory_bytes
records
processing_time_ms
status
memory_bytes
, records
, processing_time_ms
and status
require at least 1 forecast, otherwise
these fields are omitted.
The node
objects contains properties for the node that runs the job.
This information is available only for open jobs.
id
name
ephemeral_id
transport_address
attributes