elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.68k stars 8.23k forks source link

Shortened URLs should pass-through "query" params at resolve-time #9501

Closed markharwood closed 2 years ago

markharwood commented 7 years ago

When resolving shortened urls the caller should be able to pass 'query' params e.g. https://localhost:5601/bci/goto/89c..?query=foo

Most saved visualizations have the facility for users to manually type in a query into a search box which makes them an interactive exploration tool rather than being designed as a static single-purpose report. By exposing a query parameter in the URL, external systems can "deep-link" into Kibana opening these saved visualizations with the relevant choice of content. The Graph UI is an example of a client that does just this.

The shortened-URL service is a convenient (and sometimes necessary) way of sharing URLs, however it lacks the ability to read and pass-through any query parameters which prevents this important deep-linking ability of saved visualizations. I'm not sure the URL resolver would need to pass-through arbitrary parameters (e.g. bar-width) but query stands out as the important one to allow clients to change.

elasticmachine commented 2 years ago

Pinging @elastic/kibana-app-services (Team:AppServicesSv)

vadimkibana commented 2 years ago

Thank you for contributing to this issue, however, we are closing this issue due to inactivity as part of a backlog grooming effort. If you believe this feature/bug should still be considered, please reopen with a comment.