Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow histogram aggregation on histogram field type #112390

Open
flash1293 opened this issue Sep 16, 2021 · 4 comments · May be fixed by #131379
Open

Allow histogram aggregation on histogram field type #112390

flash1293 opened this issue Sep 16, 2021 · 4 comments · May be fixed by #131379
Labels
Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@flash1293
Copy link
Contributor

flash1293 commented Sep 16, 2021

The histogram agg type only supports number and number ranges (

filterFieldTypes: [KBN_FIELD_TYPES.NUMBER, KBN_FIELD_TYPES.NUMBER_RANGE],
), but according to documentation the histogram field should be possible as well: https://www.elastic.co/guide/en/elasticsearch/reference/master/histogram.html

This should be possible to implement as min and max (for bounds checking) are available on histograms as well.

#74581 added support for histogram data type in general, but not the histogram aggregation

@flash1293 flash1293 added Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Team:AppServices labels Sep 16, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Sep 27, 2021
@stratoula stratoula self-assigned this May 3, 2022
@stratoula stratoula linked a pull request May 3, 2022 that will close this issue
1 task
@exalate-issue-sync exalate-issue-sync bot added impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. and removed impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Oct 12, 2022
@petrklapka petrklapka added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed Team:AppServicesSv labels Nov 9, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

@stratoula stratoula removed their assignment Nov 10, 2022
@stratoula
Copy link
Contributor

If ES|QL supports it, this will be possible from Discover / Dashboard in ES|QL mode

@stratoula stratoula added the impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. label Jan 30, 2024
@timductive timductive added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. labels Mar 20, 2024
@stratoula
Copy link
Contributor

This is important for observability cases but we decided to wait till the ES|L support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants