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

[Maps] Ignore global filters per layer and map #33041

Closed
alexfrancoeur opened this issue Mar 12, 2019 · 9 comments
Closed

[Maps] Ignore global filters per layer and map #33041

alexfrancoeur opened this issue Mar 12, 2019 · 9 comments
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result

Comments

@alexfrancoeur
Copy link

As we begin to introduce more filtering options to layers (#32202 (comment)), it would be nice to also have the option to ignore global filters both at the individual layer level as well as the map itself.

This would have similar functionality that the time series visual builder has. In TSVB, you can choose to ignore global filters on a metric and the full visualization. When either of these are enabled, any queries or filters applied to the dashboard will not adjust whats shown.

Screen Shot 2019-03-12 at 4 09 15 PM

cc: @gingerwizard

@alexfrancoeur alexfrancoeur added [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result labels Mar 12, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis

@gingerwizard
Copy link

Without this we require that all layers either use the same index or indices have the same fields, to allow filtering. If not a query on a field results in all layers disappearing - apart from those based on indices with the field. The user is then forced to construct an OR expression. I can imagine users would want some layers to always be present, only filtering data points.

@nreese
Copy link
Contributor

nreese commented Mar 28, 2019

Without this we require that all layers either use the same index or indices have the same fields, to allow filtering. If not a query on a field results in all layers disappearing - apart from those based on indices with the field

There is a Kibana advanced setting courier:ignoreFilterIfFieldNotInIndex. You can set this to solve the problem of blank visualizations when a filter is applied to a field in a different index pattern. Have you seen this? This can be used to allow better filtering across disparate index-patterns in a dashboard

Screen Shot 2019-03-28 at 11 00 23 AM

@alexfrancoeur
Copy link
Author

@nreese I agree there is a global workaround but it'd be nice to have this option available as part of the app. @nreese @thomasneirynck What are the chances we could tie this into the layer based filtering story in 7.1? It seems to come up a lot. I realize there are other priorities ahead of this, I'm just not certain of the work effort needed here. "No, Alex you're crazy" is a pretty acceptable answer here 😄

@nreese
Copy link
Contributor

nreese commented Apr 22, 2019

What are the chances we could tie this into the layer based filtering story in 7.1?

I think we can get this feature in for 7.1

@alexfrancoeur
Copy link
Author

Awesome! No worries if we can't, but it seems to fit well with layer based filtering

@nreese
Copy link
Contributor

nreese commented Apr 24, 2019

Does time still filter the layer when ignore global filters is true?

@alexfrancoeur
Copy link
Author

@nreese I believe it does continue to filter time in TSVB, the visualization simply ignores all other filters. Maybe we add two separate controls? I'd be fine with starting with the same support that TSVB does.

@nreese
Copy link
Contributor

nreese commented Apr 27, 2019

closed by #35542

@nreese nreese closed this as completed Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation enhancement New value added to drive a business result
Projects
None yet
Development

No branches or pull requests

4 participants