When utilizing a facet such as
"histogram": {
"key_field": "timestamp",
"value_field": "amount",
"time_interval": "1d"
}
The resulting set includes the following:
{
key: 1222732800000
count: 642
min: -985
max: 483.25
total: 1544.4000024795532
total_count: 642
mean: 2.4056074804977463
}
Is there a method to extract the peak high and peak low points of the tally? For instance, if the amount formed a numerical series like:
-4, -8, 10, -3, 30, -20
I am seeking a way to identify that the tally reached a peak low of -12 and a peak high of 25.