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

Make Default Search in Discover Editable #155751

Closed
rgarcia89 opened this issue Apr 25, 2023 · 6 comments
Closed

Make Default Search in Discover Editable #155751

rgarcia89 opened this issue Apr 25, 2023 · 6 comments
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@rgarcia89
Copy link

Describe the feature:
Currently every time you open discover a default search definition is loaded, which cannot be changed. I would like to request a change here. It would be nice to either modify the search or select a saved search as default one.

Describe a specific use case for the feature:
In my case I do not use the default loaded search definition, as it does not filter the relevant fields. I would expect not to be alone with that.

@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 25, 2023
@dej611 dej611 added Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Apr 26, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 26, 2023
@jughosta
Copy link
Contributor

Hi @rgarcia89!

By "default search definition" you mean a selected data view or an open saved search?

  1. Data View picker:

Screenshot 2023-04-26 at 09 49 52

The default Data View can be changed via defaultIndex on Advanced Settings page:
Screenshot 2023-04-26 at 09 53 19

  1. Current saved search if it was open:

Screenshot 2023-04-26 at 09 50 06

Discover does not open any saved search by default unless its id was specified in URL. What link do you usually follow to navigate to Discover?

In both cases, the state can be reset by pressing "New" link in the top nav.

@rgarcia89
Copy link
Author

Hi @jughosta I am normally going via Analytics -> Discover to reach the Search. However after that I always have to click on Open on the top right and select there our default search, which comes with some pre-selected columns as well as filters. I was wondering if I somehow could get rid of this.

image

@jughosta
Copy link
Contributor

jughosta commented May 3, 2023

Yes, Discover does not support selecting a default saved search yet. Thanks for your suggestion, @rgarcia89!

As a workaround for now, please consider navigating via "Recently viewed" links in the left navigation panel or create a browser bookmark.

Screenshot 2023-05-03 at 13 45 21

@jughosta jughosta added enhancement New value added to drive a business result and removed feedback_needed labels May 3, 2023
@rgarcia89
Copy link
Author

Yeah that's definitely a faster way to reach it. However, I would really love to see the implementation of such a feature.

@jughosta
Copy link
Contributor

jughosta commented May 8, 2023

Closing as duplicate for #7238

@jughosta jughosta closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2023
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:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

5 participants