Back to Elasticsearch

Tbucket

docs/reference/query-languages/esql/_snippets/functions/description/tbucket.md

9.4.0612 B
Original Source

% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.

Description

Creates groups of values - buckets - out of a @timestamp attribute. The size of the buckets can be provided directly as a duration or period. Alternatively, the bucket size can be chosen based on a recommended count and a range {applies_to}stack: ga 9.4. When using ES|QL in Kibana, the range can be derived automatically from the @timestamp filter that Kibana adds to the query.