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

Support Bucket Selector Aggregation to allow filtering of Data Table visualization #11167

Closed
bczifra opened this issue Apr 11, 2017 · 17 comments
Closed
Labels
Feature:ES|QL ES|QL related features in Kibana Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@bczifra
Copy link
Member

bczifra commented Apr 11, 2017

Support Bucket Selector Aggregations to allow filtering of data table visualizations.

@cjcenizal cjcenizal added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Apr 19, 2017
@chemeugene
Copy link

+1

@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 16, 2018
@thomasneirynck
Copy link
Contributor

seems to be specific example of #17544

@yinrong
Copy link

yinrong commented Nov 22, 2019

+1

@ppf2
Copy link
Member

ppf2 commented Dec 17, 2019

One use case for this feature is to workaround Elasticsearch not having a non-negative option for derivative aggregation so that charts can end up showing negative derivative values (upon intentional server restarts): elastic/elasticsearch#15542

@vivekkarne
Copy link

+1

@kgipe-impact
Copy link

I would love to be able to filter my dashboard to only data for the things with the highest count, or the highest sum of some metric. In other words, show me the dashboard only for the Top N things in my dataset...

@botzill
Copy link

botzill commented Nov 16, 2020

Any updates on this ?

@boubou191911
Copy link

+1

2 similar comments
@sachin-frayne
Copy link

+1

@hugostarnaud
Copy link

+1

@rule88
Copy link

rule88 commented Feb 5, 2021

Another use-case: https://discuss.elastic.co/t/how-to-display-only-positive-values-after-a-tophit-latest-aggregation/262997

imho this feature doesn't seem to be limited to Data-Table, as this feature might apply on other chart types in combination with last values (Top-Hit)

@spak0022
Copy link

spak0022 commented Mar 9, 2023

+1

@markov00 markov00 added the Feature:ES|QL ES|QL related features in Kibana label Jun 12, 2024
@markov00
Copy link
Member

This probably can be implemented with ESQL

@markov00 markov00 added Team:ESQL ES|QL related features in Kibana and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jun 12, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

@upatidar7
Copy link

+1 , need to filter data after aggregation where sum or avg > n

@stratoula stratoula added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed Team:ESQL ES|QL related features in Kibana labels Jul 15, 2024
@elasticmachine
Copy link
Contributor

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

@mbondyra
Copy link
Contributor

mbondyra commented Jul 17, 2024

This is now possible using ES|QL on Lens visualizations (starting 8.14). To create one, head to discover and choose ES|QL from the data view picker. The example code I used is (only shows the buckets with more than 7000 bytes in total):

FROM kibana_sample_data_logs
| STATS total_bytes = SUM(bytes) BY geo.dest
| WHERE total_bytes > 7000 
Screenshot 2024-07-17 at 14 07 47

You can adjust your visualization and then save the visualization to a dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:ES|QL ES|QL related features in Kibana Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests