Send data to an anomaly detection job for analysis
Deprecated POST
/_ml/anomaly_detectors/{job_id}/_data IMPORTANT: For each job, data can be accepted from only a single connection at a time. It is not currently possible to post data to multiple jobs using wildcards or a comma-separated list.
Required authorization
- Cluster privileges:
manage_ml
Parameters
path Path Parameters
| Name | Type |
|---|---|
job_id
required
Identifier for the anomaly detection job. The job must have a state of open to receive and process the data. | type TypesId = string |
query Query Parameters
| Name | Type |
|---|---|
reset_end Specifies the end of the bucket resetting range. | type TypesDateTime = type TypesEpochTimeUnitMillis = TypesUnitMillis | string |
reset_start Specifies the start of the bucket resetting range. | type TypesDateTime = type TypesEpochTimeUnitMillis = TypesUnitMillis | string |
Request Body
application/json
required
{}[]
Responses
200 application/json
{
job_id:TypesId ;
processed_record_count: number;
processed_field_count: number;
input_bytes: number;
input_field_count: number;
invalid_date_count: number;
missing_field_count: number;
out_of_order_timestamp_count: number;
empty_bucket_count: number;
sparse_bucket_count: number;
bucket_count: number;
earliest_record_timestamp?:TypesEpochTimeUnitMillis ;
latest_record_timestamp?:TypesEpochTimeUnitMillis ;
last_data_time?:TypesEpochTimeUnitMillis ;
latest_empty_bucket_timestamp?:TypesEpochTimeUnitMillis ;
latest_sparse_bucket_timestamp?:TypesEpochTimeUnitMillis ;
input_record_count: number;
log_time?:TypesEpochTimeUnitMillis ;
}
job_id:
processed_record_count: number;
processed_field_count: number;
input_bytes: number;
input_field_count: number;
invalid_date_count: number;
missing_field_count: number;
out_of_order_timestamp_count: number;
empty_bucket_count: number;
sparse_bucket_count: number;
bucket_count: number;
earliest_record_timestamp?:
latest_record_timestamp?:
last_data_time?:
latest_empty_bucket_timestamp?:
latest_sparse_bucket_timestamp?:
input_record_count: number;
log_time?:
}