[[esql-group-functions]]
==== {esql} grouping functions

++++
<titleabbrev>Grouping functions</titleabbrev>
++++

The <<esql-stats-by>> command supports these grouping functions:

// tag::group_list[]
* <<esql-bucket>>
* <<esql-categorize>> NOTE: Requires a https://www.elastic.co/subscriptions[platinum license].
// end::group_list[]

include::layout/bucket.asciidoc[]

NOTE: The `CATEGORIZE` function requires a https://www.elastic.co/subscriptions[platinum license].
include::layout/categorize.asciidoc[]
