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

Saving and reusing filters in filter aggregation #3211

Closed
w33ble opened this issue Feb 28, 2015 · 6 comments
Closed

Saving and reusing filters in filter aggregation #3211

w33ble opened this issue Feb 28, 2015 · 6 comments
Labels
Feature:Lens 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

@w33ble
Copy link
Contributor

w33ble commented Feb 28, 2015

Being able to save a list of filter aggs and re-use that those lists across other visualizations would be super useful.

When using filter aggs, I find myself messing around with saved vis objects a lot to try to re-use filters, which isn't a great experience.

@rashidkpc rashidkpc changed the title Saving and reusing filter aggs Saving and reusing filters Jul 28, 2015
@rashidkpc rashidkpc added the P3 label Jan 29, 2016
@rashidkpc
Copy link
Contributor

We should really do this, but we should make sure we create an abstraction for filters as the Elasticsearch filter DSL has not remained stable enough to store the raw filters. and we need to make sure all the saved filters don't break on upgrades of Elasticsearch.

@Bargs Bargs added Feature:Filters Feature:Query Bar Querying and query bar features labels Feb 11, 2017
@epixa epixa removed the P3 label Apr 25, 2017
@timroes timroes added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) and removed :Discovery Feature:Filters Feature:Query Bar Querying and query bar features labels Mar 29, 2018
@timroes
Copy link
Contributor

timroes commented Mar 29, 2018

I think this feature request was actually saving filters in a Filters aggregation in the visualization editor (not in the filter bar) to be able to reuse them in another chart. Thus relabeling this.

@narschang
Copy link

As a Kibana user, I think we need to save the filter in both the query bar and visualization. Or can one saved filter be used in both the visualization and query bar - I constantly finding myself punch in the same filter criteria in the search bar and when creating visualizations.

Furthermore, it's not just how many times a user has to type in the same thing. The fundamental issue is that when I use the same filter in 20 different visualizations or saved searches it's getting difficult to maintain searches and visualizations.

Not sure if there is a plan to make the saved filters available. Please let me know if the developers are looking for concrete use cases for this issue. I have examples for deeper discussion if that will help.

By the way, thanks for the ELK team's good work!! I am using ELK to understand data and create visualizations and dashboards every day. Kibana has become an important tool for my team to understand what's going on and what needs to be done.

@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 16, 2018
@timroes timroes changed the title Saving and reusing filters Saving and reusing filters/queries Nov 7, 2018
@timroes timroes changed the title Saving and reusing filters/queries Saving and reusing filters in filter aggregation Nov 7, 2018
@smerzlyakov
Copy link

Must have feature! Otherwise filters are useless. If you cant reuse it, you will write long searches and not filters.

@M-Louw
Copy link

M-Louw commented Mar 13, 2020

I agree on the filter aggregation here. I've just manually set multiple filter agrregation containing all weekday names and then all month names on multiple visualizations, because it seems to be the only way I can be sure to get the correct sorting on those buckets.
If not the possibility to save a filter aggregation, then maybe just some common ones e.g. weekday names and month names. My guess is a lot of times you use filter aggregation will be in such cases.

@stratoula
Copy link
Contributor

Closing in favor of #47192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens 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