Get anomaly detection job results for buckets
Added in 5.4.0
The API presents a chronological view of the records, grouped by bucket.
Query parameters
-
Returns buckets with anomaly scores greater or equal than this value.
-
If
true
, the buckets are sorted in descending order. -
Returns buckets with timestamps earlier than this time.
-1
means it is unset and results are not limited to specific timestamps. -
If
true
, the output excludes interim results. -
If true, the output includes anomaly records.
-
Skips the specified number of buckets.
-
Specifies the maximum number of buckets to obtain.
-
Specifies the sort field for the requested buckets.
-
Returns buckets with timestamps after this time.
-1
means it is unset and results are not limited to specific timestamps.
Body
-
Refer to the description for the
anomaly_score
query parameter. -
Refer to the description for the
desc
query parameter. -
Refer to the description for the
exclude_interim
query parameter. -
Refer to the description for the
expand
query parameter. -
Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.
curl \
--request GET 'http://api.example.com/_ml/anomaly_detectors/{job_id}/results/buckets' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"anomaly_score":42.0,"desc":true,"":"string","exclude_interim":true,"expand":true,"page":{"from":42.0,"size":42.0},"sort":"string"}'