Skip to content

Support from/to directly in the new Histogram Aggregation #61410

@fbuecklers

Description

@fbuecklers

First of all nice to see, the ES has implemented the Histogram Aggregation.

Our use case is that we store many timer values in pre-aggregated histogram fields in our indices.
Over this aggregated histogram data we want to visualize the distribution of those timers for a given time range.
The new Histogram Aggregation fits well here to get the results for the visualization except that we want to view only a specific range of the timers. The documentation states that we should prefilter our data by a range aggregation with the from/to filter.
But these do not work in our case if we use pre-aggregated histogram values as a source for the aggregation.

Therefore it should be possible to define a min/from - max/to range in the aggregation directly get only a specific range of the data.

We can't do this in the visualization step since the returned JSON by the histogram aggregation becomes too large to handle that properly in the frontend.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions