We just migrated from Elasticsearch 5.6 to 8.14 and we are seeing a bit of a difference in how the histogram in the discover section works.
In 5.6, if an interval is scaled because of too many buckets, the histogram would show the average/count of records.
In 8.14, when an interval is scaled due to too many buckets, the histograms shows the sum of records rather than the average.
Is there any way to customize this behavior in Discover section so that the average is shown when the interval is scaled?