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

Add bucket_selector aggregation to visualizations #17544

Open
erajabi opened this issue Apr 4, 2018 · 25 comments
Open

Add bucket_selector aggregation to visualizations #17544

erajabi opened this issue Apr 4, 2018 · 25 comments
Labels
Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Feature:Lens Feature:Visualizations Generic visualization features (in case no more specific feature label is available) impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure triage_needed
Projects

Comments

@erajabi
Copy link

erajabi commented Apr 4, 2018

Kibana: 6.2.3:

Elastic Search: 6.2.1:

OS: Windows 10:

Browser: Chrome 65.0.3325.181:

I want to use bucket_selector in Kibana to filter the results of aggregation functions. However I cannot find it in the interface:

Steps to reproduce:

  1. In Kibana Dev tools, I use the following code to filter aggregations and it works using the dev tools:
"sum_hours_bucket_filter": {
       "bucket_selector": {
         "buckets_path": {
           "totalHours": "sumH"
         },
         "script": "params.totalHours > 1000"
       }
     }
  1. I don't know how to use this code in the visualization section

Describe the feature:
Like Having feature in SQL, I think it is important to have filtering in aggregations.

@timroes timroes changed the title How can I apply bucket_selector in Kibana? Add bucket_selector aggregation to visualizations Apr 9, 2018
@timroes timroes added release_note:enhancement Feature:Visualizations Generic visualization features (in case no more specific feature label is available) :New Editor labels Apr 9, 2018
@moishy90
Copy link

Is there a way around the lack of this feature for now?

@Sjaak01
Copy link

Sjaak01 commented Oct 2, 2018

Would very much like this function as well.

I use Kibana to monitor a lot of equipment an being able to show only SUM of value > xxx would make it a lot easier to single out equipment exceeding thresholds.

Would like to see this function available to graphs, tables etc.

@amritpatra
Copy link

I was really trying to bucket_selector for my Kibana Dashboard and learned it hard way that the feature is not available for visualization. Please implement this feature.

@guylando
Copy link

+1

2 similar comments
@gcsabbagh
Copy link

+1

@jtebbens
Copy link

+1

@greenupnetwork
Copy link

Great idea

@yinrong
Copy link

yinrong commented Sep 24, 2019

+1

1 similar comment
@hwelcher
Copy link

+1

@connosco
Copy link

Need it in Kibana! 💃

@douniwan5788
Copy link

Kibana 7.4.2 , still wating...

@BernalCarlos
Copy link

+1

I had to resort to some kind of work around:
https://discuss.elastic.co/t/exclude-records-by-an-existing-value-in-a-group/217849/2

@RagulPandiyan
Copy link

+1

2 similar comments
@AmandaBSobrinho
Copy link

AmandaBSobrinho commented Aug 3, 2020

+1

@adamquan
Copy link

adamquan commented Aug 4, 2020

+1

@matanrabi
Copy link

+1

@IMZCC
Copy link

IMZCC commented Mar 19, 2021

+1
Kibana 7.11 , still wating...

@MateuszMagdon
Copy link

+1

@ghudgins
Copy link

ghudgins commented Nov 9, 2021

We are planning on implementing the core of this in #86190 and general support for Elasticsearch DSL in #59439

@elasticmachine
Copy link
Contributor

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

@ppisljar ppisljar added the Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) label Nov 22, 2021
@exalate-issue-sync exalate-issue-sync bot added impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:medium Medium Level of Effort impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. labels Nov 22, 2021
@SaraAlshamsi
Copy link

+1

2 similar comments
@desean1625
Copy link
Contributor

+1

@gueri-fr
Copy link

gueri-fr commented Nov 3, 2022

+1

@smnschneider
Copy link
Contributor

+1

@sacalata
Copy link

Kibana 8.12 still waiting...

It's crazy to think that you basically cannot process data at all in all visualizations but TSVB...

Whenever I want to make a complex gauge or table I know TSVB has got me covered, but If its not a temporal data/ doesn't use time as axis, then most of the times i have to do pre-processing on my backeend or resort to vega..

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, ...) Feature:Lens Feature:Visualizations Generic visualization features (in case no more specific feature label is available) impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure triage_needed
Projects
No open projects
Lens
  
Long-term goals
Development

No branches or pull requests