Skip to content

Dashboard filtering isn't loading fields #14685

Description

@shaharmor

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

Activity

  1. shaharmor commented on Oct 31, 2017

    @shaharmor
    ContributorAuthor

    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

  2. added
    Feature:VisualizationsGeneric visualization features (in case no more specific feature label is available)
    on Nov 7, 2017
  3. shaharmor commented on Nov 13, 2017

    @shaharmor
    ContributorAuthor

    @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 :)

  4. changed the title [-][TSVB] Dashboard filtering isn't loading fields[/-] [+]Dashboard filtering isn't loading fields[/+] on Nov 14, 2017
  5. added and removed
    Feature:VisualizationsGeneric visualization features (in case no more specific feature label is available)
    on Nov 14, 2017
  6. simianhacker commented on Nov 14, 2017

    @simianhacker
    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.

  7. added
    bugFixes for quality problems that affect the customer experience
    on Nov 14, 2017
  8. Bargs commented on Dec 14, 2017

    @Bargs
    Contributor

    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.

  9. self-assigned this
    on Jan 23, 2018
  10. nreese commented on Feb 23, 2018

    @nreese
    Contributor

    closed by #16235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Feature:DashboardDashboard related featuresPR sentbugFixes for quality problems that affect the customer experience

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions