Get anomaly detection job results for buckets
/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp} The API presents a chronological view of the records, grouped by bucket.
Required authorization
- Cluster privileges:
monitor_ml
Parameters
path Path Parameters
| Name | Type |
|---|---|
job_id
required
Identifier for the anomaly detection job. | type TypesId = string |
timestamp
required
The timestamp of a single bucket result. If you do not specify this parameter, the API returns information about all buckets. | type TypesDateTime = type TypesEpochTimeUnitMillis = TypesUnitMillis | string |
query Query Parameters
| Name | Type |
|---|---|
anomaly_score Returns buckets with anomaly scores greater or equal than this value. | number |
desc If | boolean |
end Returns buckets with timestamps earlier than this time. | type TypesDateTime = type TypesEpochTimeUnitMillis = TypesUnitMillis | string |
exclude_interim If | boolean |
expand If true, the output includes anomaly records. | boolean |
from Skips the specified number of buckets. | number |
size Specifies the maximum number of buckets to obtain. | number |
sort Specifies the sort field for the requested buckets. | type TypesField = string |
start Returns buckets with timestamps after this time. | type TypesDateTime = type TypesEpochTimeUnitMillis = TypesUnitMillis | string |
Request Body
anomaly_score?: number;
desc?: boolean;
end?:
exclude_interim?: boolean;
expand?: boolean;
page?:
sort?:
start?:
}