mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
This adds the documentation for BUCKET as a grouping function and the addition of the "direct" invocation mode providing a span (in addition to the auto mode).
34 lines
825 B
Text
34 lines
825 B
Text
[[esql-agg-functions]]
|
|
==== {esql} aggregate functions
|
|
|
|
++++
|
|
<titleabbrev>Aggregate functions</titleabbrev>
|
|
++++
|
|
|
|
The <<esql-stats-by>> command supports these aggregate functions:
|
|
|
|
// tag::agg_list[]
|
|
* <<esql-agg-avg>>
|
|
* <<esql-agg-count>>
|
|
* <<esql-agg-count-distinct>>
|
|
* <<esql-agg-max>>
|
|
* <<esql-agg-median>>
|
|
* <<esql-agg-median-absolute-deviation>>
|
|
* <<esql-agg-min>>
|
|
* <<esql-agg-percentile>>
|
|
* experimental:[] <<esql-agg-st-centroid>>
|
|
* <<esql-agg-sum>>
|
|
* <<esql-agg-values>>
|
|
// end::agg_list[]
|
|
|
|
include::avg.asciidoc[]
|
|
include::count.asciidoc[]
|
|
include::count-distinct.asciidoc[]
|
|
include::max.asciidoc[]
|
|
include::median.asciidoc[]
|
|
include::median-absolute-deviation.asciidoc[]
|
|
include::min.asciidoc[]
|
|
include::percentile.asciidoc[]
|
|
include::st_centroid_agg.asciidoc[]
|
|
include::sum.asciidoc[]
|
|
include::values.asciidoc[]
|