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

Dashboard filtering isn't loading fields #14685

Closed
shaharmor opened this issue Oct 31, 2017 · 5 comments
Closed

Dashboard filtering isn't loading fields #14685

shaharmor opened this issue Oct 31, 2017 · 5 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features PR sent

Comments

@shaharmor
Copy link
Contributor

shaharmor commented Oct 31, 2017

Kibana version: 6.x

Steps to reproduce:

  1. Create a dashboard with only visualizations that don't have an index pattern (TSVB / Timelion)
  2. Try to add a filter using the "Add a filter" button in the Filter Bar. (You have to enable it by adding at least 1 filter in the discover)
  3. See that no fields are loaded to the select box
@shaharmor
Copy link
Contributor Author

It has something to do with indexPatterns not being set up correctly.
Also, this line is only checking for the old vis indexPattern style: https://github.com/elastic/kibana/blob/6.x/src/core_plugins/kibana/public/visualize/embeddable/visualize_embeddable_handler.js#L48

@jbudz jbudz added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Nov 7, 2017
@shaharmor
Copy link
Contributor Author

shaharmor commented Nov 13, 2017

@simianhacker any chance you take a look at this?
This is actually a bug not only in TSVB, and I'm not sure what Kibana's approach to filtering in dashboards.

Would really like to have that feature :)

@simianhacker simianhacker changed the title [TSVB] Dashboard filtering isn't loading fields Dashboard filtering isn't loading fields Nov 14, 2017
@simianhacker simianhacker added Feature:Dashboard Dashboard related features :Discovery and removed Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Nov 14, 2017
@simianhacker
Copy link
Member

This is happening because TSVB and Timelion are missing the SearchSource to extract the index pattern from. It should probably fall back to the "default index pattern" for Kibana.

@simianhacker simianhacker added the bug Fixes for quality problems that affect the customer experience label Nov 14, 2017
@Bargs
Copy link
Contributor

Bargs commented Dec 14, 2017

We also just discovered that this causes the filter bar to disappear on dashboards that only have TSVB/Timelion visualizations. The filter bar is only displayed if filters already exist or if a panel has registered its index pattern with the dashboard scope. Tested in 5.6 and 7.0.

@nreese
Copy link
Contributor

nreese commented Feb 23, 2018

closed by #16235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features PR sent
Projects
None yet
Development

No branches or pull requests

5 participants