Send data to an anomaly detection job for analysis Deprecated Added in 5.4.0
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.
Path parameters
-
Identifier for the anomaly detection job. The job must have a state of open to receive and process the data.
Query parameters
-
reset_end string | number
Specifies the end of the bucket resetting range.
-
reset_start string | number
Specifies the start of the bucket resetting range.
POST
/_ml/anomaly_detectors/{job_id}/_data
curl \
-X POST http://api.example.com/_ml/anomaly_detectors/{job_id}/_data \
-H "Content-Type: application/json" \
-d '[{}]'
Request examples
[
{}
]
Response examples (200)
{
"job_id": "string",
"processed_record_count": 42.0,
"processed_field_count": 42.0,
"input_bytes": 42.0,
"input_field_count": 42.0,
"invalid_date_count": 42.0,
"missing_field_count": 42.0,
"out_of_order_timestamp_count": 42.0,
"empty_bucket_count": 42.0,
"sparse_bucket_count": 42.0,
"bucket_count": 42.0,
"": 42.0,
"input_record_count": 42.0
}