-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[ESQL] ability to migrate saved searches to ESQL data views #164119
Comments
Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations) |
Atm legacy visualizations that are made with saved searches are migrated to Lens with dataviews/filters. So the migration is done for them correctly. ESQL dataviews is currently a discussion and is very vague how these will work. When they are part of ES/Kibana then we can start discussing about how we can implement them in Lens. But even then we might need to to change our architecture in Lens before we can accommodate them. I am closing this for now, not because we dont want to do it, but because it is currently blocked by many other tasks and discussions so I think it is better to have the dataviews first and then we can define our strategy towards Lens and the saved searches. This is why I havent created an issue for that so far |
Unless I am missing something, just copying filters to the new Lens replacement does not have the same effect. You lose that centrally-managed "saved search" that will update all visualizations based on that saved search. I understand that converting a legacy visualization based on a saved search to a Lens visualization will copy of the same query/filters, but what if we later want to update the query/filters. We would have to update every visualization.
There are two issues with this:
Just my $0.02. |
@MakoWish thanks for the feedback. This is valuable. You're right that you lose that central editing feature when converting saved-search-based visualization to Lens. I think the most immediate solution is to allow saved queries to work in the same way (issue). Like @stratoula says, there are a lot of questions around what ESQL data views will look like, how they will be configured, how they will be used, where in the UI they will show up, etc. They may look quite different from the data views of today. Any strategy we pursue on these will be coordinated across the integrations contributors. |
Describe the feature:
Many customers have legacy visualizations built on saved searches. This is helpful to them because they can
Saved queries seem like they should address this need, but they do not because they are not by-reference. This means that when you use a saved query on a piece of content and then make changes to the query, those changes are not reflected in other content using the same saved query.
ESQL data views will solve this case for Lens. When an ESQL query is updated, all Lens visualizations built on that query will update.
It would be really nice if we could define a migration from saved searches to ESQL query data views. Perhaps this could be part of the "Open in Lens" routine.
The text was updated successfully, but these errors were encountered: