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

Saved queries and filters #38564

Closed
6 tasks done
Bargs opened this issue Jun 10, 2019 · 3 comments
Closed
6 tasks done

Saved queries and filters #38564

Bargs opened this issue Jun 10, 2019 · 3 comments
Labels
Feature:Filters Feature:Query Bar Querying and query bar features release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@Bargs
Copy link
Contributor

Bargs commented Jun 10, 2019

Saved Searches are Discover specific because they include things like the columns that were selected, which aren't relevant on dashboards or visualizations. We would like to introduce a "saved query" concept that's more limited in scope. We'll be able to load these saved queries anywhere a query is expected: dashboards, filter aggs, etc. These "saved queries" will include the query string and optionally the filters (including their pinned/disabled state) and time filter as well.

Related #2696
Related #13650

EUI ticket for design: elastic/eui#1938

Feature branch: https://github.com/elastic/kibana/tree/saved_filters

Tasks

  • Add saved object type
    • Define what these look like
    • Add section to Saved Object management UI for new type
      • Update Discover to load saved query passed in via URL
      • Use that URL in the getInAppUrl property in the uiExport
  • Update query bar UI to support saving and loading saved queries/filters

Questions

  • What should uiCapabilitiesPath be if we use Discover as our editor? And if we create a separate edit page?
  • Ask Stacey about display and section properties on RefreshInterval type
  • Talk to design team about displaying saved queries that include filters/timefilter in contexts that don’t have those UI components
@Bargs Bargs added release_note:enhancement Feature:Filters Feature:Query Bar Querying and query bar features Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jun 10, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@strawgate
Copy link
Contributor

It would be nice if these could be limited in scope to the dashboard in question as well. This would allow the saving of multiple "Filter Sets" or "queries" on a dashboard for easy save/load without having to save a whole copy of the dashboard to keep that particular set of filters or query saved

@Bargs
Copy link
Contributor Author

Bargs commented Sep 4, 2019

@strawgate that's a great idea. Would you mind creating a new ticket for that request? We already addressed this particular ticket in #39140 and I just forgot to close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Filters Feature:Query Bar Querying and query bar features release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants