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

Simple filter parameters in a saved object URL #17693

Closed
alexfrancoeur opened this issue Apr 13, 2018 · 1 comment
Closed

Simple filter parameters in a saved object URL #17693

alexfrancoeur opened this issue Apr 13, 2018 · 1 comment
Labels
enhancement New value added to drive a business result Feature:SharingURLs Short URLs and Share URL features stale Used to mark issues that were closed for being stale Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@alexfrancoeur
Copy link

While you can technically add filters to a URL today, it's not implemented in a simplistic fashion. Ideally, it would be great if we could expand on the type of work done for navigating to a dashboard by the title of a dashboard (#14760).

For instance, my dashboard URL is http://localhost:5610/app/kibana#/dashboard/edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b

If I wanted to say filter on windows and osx operating systems, it would be nice to be able to create URL's like the one below

http://localhost:5610/app/kibana#/dashboard/edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b?filter=machine.os:windows,osx

With support for multiple filters

http://localhost:5610/app/kibana#/dashboard/edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b?filter=machine.os:windows,osx&filter=geo.src:US

Any syntax would work, and we'd likely need to support operators like >,>=, =,<,<= and anything else I haven't thought of.

I imagine we'll need similar functionality to support custom panel actions in the future. Other applications such as ML could utilize this internally for their custom URL builder UI.

This is somewhat related to #13061

cc: @elastic/kibana-sharing @elastic/kibana-platform

@alexfrancoeur alexfrancoeur added release_note:enhancement Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc :Sharing labels Apr 13, 2018
@peteharverson
Copy link
Contributor

👍 This would be very beneficial for the ML custom URL builder, where currently we are passing any entities from an anomaly into the query section of the URL due to the complexity of getting them into the (preferred) filters section, overwriting any query the user may have set on the dashboard.

@epixa epixa added enhancement New value added to drive a business result and removed release_note:enhancement labels May 7, 2018
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:SharingURLs Short URLs and Share URL features and removed :Sharing labels Sep 14, 2018
@joshdover joshdover added the stale Used to mark issues that were closed for being stale label Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:SharingURLs Short URLs and Share URL features stale Used to mark issues that were closed for being stale Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

5 participants