ES|QL functions and operators
ES|QL provides a comprehensive set of functions and operators for working with data. The reference documentation is divided into the following categories:
Aggregate functions
AVG
COUNT
COUNT_DISTINCT
MAX
MEDIAN
MEDIAN_ABSOLUTE_DEVIATION
MIN
PERCENTILE
- [preview]
ST_CENTROID_AGG
- [preview]
ST_EXTENT_AGG
STD_DEV
SUM
TOP
- [preview]
VALUES
WEIGHTED_AVG
Grouping functions
BUCKET
- [preview]
CATEGORIZE
Date and time functions
IP functions
Math functions
Spatial functions
ST_DISTANCE
ST_INTERSECTS
ST_DISJOINT
ST_CONTAINS
ST_WITHIN
ST_X
ST_Y
- [preview]
ST_ENVELOPE
- [preview]
ST_XMAX
- [preview]
ST_XMIN
- [preview]
ST_YMAX
- [preview]
ST_YMIN