Back to Elasticsearch

Sparkline

docs/reference/query-languages/esql/_snippets/functions/parameters/sparkline.md

9.4.0488 B
Original Source

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

Parameters

aggregation : Aggregation that calculates the y-axis value of the sparkline graph for each datapoint.

key : Date expression from which to derive buckets.

buckets : Target number of buckets.

from : Start of the range. Can be a date or a date expressed as a string.

to : End of the range. Can be a date or a date expressed as a string.