-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
"Show underlying data" should pick up visualization & saved search filters #72637
Comments
Pinging @elastic/kibana-app-arch (Team:AppArch) |
This actually happens because visualization filters are not passed to embeddable from visState in |
A fix could be something as follows: #73023 But for it to work I needed to comment two lines in |
Also we are planning on per-panel filters feature (same as per-panel time range), we should think about this issue in a broader context. And I think we should display visualization filters inside dashboard panels. Also, would be nice if TODO:
|
After discussing this with @ppisljar we decided to park this issue for now and possibly come back to it later. |
From an UX perspective, I think it doesn't make any sense to keep the button until this feature is ready. I could see it first-hand while migrating from another software. All of our dispatchers complained that the visualization button only carries the dashboard search and filters to Discover, and not the visualization specific ones. They considered the button useless and misleading. So it would make more sense to have only one button for the entire dashboard until the visualization-specific one is fully functional. And I really hope that this will happen soon as we are forced to load the saved search in Kibana every time we want to investigate an issue that we found in a visualization. It's a pain and it's slow. |
Is there any planning for this feature ? When can we expect this needful feature ? |
no short term plan for this as there is no clear way of implementing this in a correct way. visualization could be powered by any data and at the moment we can't clearly identify the set of documents underlying it. |
Just found this ticket after also being stumped by one our dashboards' "Explore underlying data" links just load all of the index data when clicked and lose all filters and search terms. From the UX pov, this is completely broken and confusing. |
cc @ThomThomson I think we talked in the context of visualizations embedded in dashboards, that it would make sense pulling the "visualization" filter into the embeddable input layer, i.e. they are not attached to the "saved object" of the visualization, but to the panel information (and thus once we'd implement panel individual filters, they are the same as the ones on the visualization). I think this issue is another good example why we might want to do this. If we'd pull up the filters/queries into the embeddable layer, we would actually have knowledge in the action about them, and could forward them to discover (at least for all those panels that used them on the panel level and not somewhere within the saved object). |
@VijayDoshi @timductive this bug results in an incredibly annoying user experience. Much of the time 'show underlying data' function is useless. I think we should consider removing it until we are able to implement this functionality reliably. |
@timroes above assumes we would know how to pull filters out and i think that might be quite hard on a general embeddable level. it would already be hard with visualize_embeddable (vega could have filters in the script right ? expression can have a filter anywhere inside it) |
@rayafratkina Agreed - if we aren't filtering the view in Discover it's not useful. |
@ppisljar my understanding is the same as yours: that it's not an easy problem. That's why I propose removing the feature until we can do it properly. As it is now, it's frustrating to the user |
What about removing this action from the context menu for all cases where we don’t have a good way to obtain filters (tsvb, timelion, maps, vega), but keep it for the panels where we have the means to do so (regular Visualize and Lens)? To me this seems like a feature with clear boundaries - like the “Inspect” button, it doesn’t work for TSVB and Timelion, but it’s just not shown for them so it’s clear to the user what’s happening. |
It does not seem to be as straightforward - if visualization is based on a saved search, the link does not work either. If we can fix #82615, it would make sense to keep the action for situations where it works. |
Good call, saved searches should work as well. If this approach (working with saved searches and only shown if there is a way to extract filters) is too much effort for 7.13, IMHO it would be best to put it behind a config flag disabled by default until we can sort it out. |
Been doing some development with Kibana, and came across this UX issue as well (I am currently using an older version). I think this is something that would add a lot of value for the user experience. In addition, if a visualization is based off of a saved search and not just an index-pattern, then the saved search should be loaded as well when "Exploring underlying data". |
@flash1293 Is there any update on this issue? I am still facing the same with 7.15 version. |
This will be possible for Lens visualizations in 8.2 via #127355 |
Closed by #127355 |
When using the "show underlying data" context action on the dashboard, the filters saved with the visualization are not applied to the resulting discover view. As a user I would expect this action to apply all the filters which are in effect on the dashboard as well.
Steps to reproduce:
fieldA: 1
)fieldA: 1
fieldA: 1
filter pillThis would probably require us to extend the embeddable output with the local filters - at least Visualize visualization types and Lens can provide this information.
cc @streamich
Related: same for saved search #82615
The text was updated successfully, but these errors were encountered: