Get anomaly detection job results for buckets
- POST also GET /_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}
- POST also GET /_ml/anomaly_detectors/{job_id}/results/buckets
The API presents a chronological view of the records, grouped by bucket.
Required authorization
- Cluster privileges monitor_ml
Response
-
bucketsobjectrequired -
anomaly_scorenumberrequired -
The maximum anomaly score, between 0-100, for any of the bucket influencers. This is an overall, rate-limited score for the job. All the anomaly records in the bucket contribute to this score. This value might be updated as new data is analyzed.
-
bucket_influencersobjectrequired -
anomaly_scorenumberrequired -
A normalized score between 0-100, which is calculated for each bucket influencer. This score might be updated as newer data is analyzed.
-
bucket_spannumberrequired -
The length of the bucket in seconds. This value matches the bucket span that is specified in the job.
-
initial_anomaly_scorenumberrequired -
The score between 0-100 for each bucket influencer. This score is the initial value that was calculated at the time the bucket was processed.
-
is_interimbooleanrequired -
If true, this is an interim result. In other words, the results are calculated based on partial input data.
-
bucket_spannumberrequired -
The length of the bucket in seconds. This value matches the bucket span that is specified in the job.
-
initial_anomaly_scorenumberrequired -
The maximum anomaly score for any of the bucket influencers. This is the initial value that was calculated at the time the bucket was processed.
-
is_interimbooleanrequired -
If true, this is an interim result. In other words, the results are calculated based on partial input data.
-
processing_time_msnumberrequired -
The amount of time, in milliseconds, that it took to analyze the bucket contents and calculate results.