AuthThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.AvailabilityGenerally available since 5.4This functionality is generally available and ready for production usage.Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
The API presents a chronological view of the records, grouped by bucket.
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_influencersobject[]required
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.
influencer_field_namestringrequired
The field name of the influencer.
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.
job_idstringrequired
Identifier for the anomaly detection job.
probabilitynumberrequired
The probability that the bucket has this behavior, in the range 0 to 1. This value can be held to a high precision
of over 300 decimal places, so the anomaly_score is provided as a human-readable and friendly interpretation of
this.
raw_anomaly_scorenumberrequired
Internal.
result_typestringrequired
Internal. This value is always set to bucket_influencer.
timestampnumberrequired
The start time of the bucket for which these results were calculated.
timestamp_stringuniononeOf
The start time of the bucket for which these results were calculated.
One of:stringornumber
bucket_spannumberrequired
The length of the bucket in seconds. This value matches the bucket span that is specified in the job.
event_countnumberrequired
The number of input data records processed in this bucket.
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.
job_idstringrequired
Identifier for the anomaly detection job.
processing_time_msnumberrequired
The amount of time, in milliseconds, that it took to analyze the bucket contents and calculate results.
result_typestringrequired
Internal. This value is always set to bucket.
timestampnumberrequired
The start time of the bucket. This timestamp uniquely identifies the bucket. Events that occur exactly at the
timestamp of the bucket are included in the results for the bucket.
timestamp_stringuniononeOf
The start time of the bucket. This timestamp uniquely identifies the bucket. Events that occur exactly at the
timestamp of the bucket are included in the results for the bucket.