elastic / kibana

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

[Lens] Support for multiple breakdown by #82208

Closed AlonaNadler closed 7 months ago

AlonaNadler commented 3 years ago

A customer is looking to do multiple splits in visualizations, similar to what they currently do with Area visualization in Visualize. When done in Visualize it creates multiple nesting combination fieldA - fieldB as a series

image

elasticmachine commented 3 years ago

Pinging @elastic/kibana-app (Team:KibanaApp)

wylieconlon commented 3 years ago

This is technically possible, but haven't we heard users complain about how confusing this feature of Visualize is? Is there a way we can provide it in Lens, but without the confusing parts? I would consider this an open question.

AlonaNadler commented 3 years ago

Opening it to track this request. This is still planned for the future. We want to allow users to breakdown by multiple level and allow them to chose whether to use split series or split chart

georgewitteman commented 3 years ago

This is technically possible, but haven't we heard users complain about how confusing this feature of Visualize is? Is there a way we can provide it in Lens, but without the confusing parts? I would consider this an open question.

What do you users say is confusing about this?

th0ger commented 3 years ago

Users (me) say, that Lens without multiple breakdown (split series) is severely limiting. Especially because there is no split chart alternative to use.

wylieconlon commented 3 years ago

The main reason it's confusing in Visualize is that each Terms aggregation is ordered in a hierarchy, it's not flattened like in a SQL request.

We will most likely support a single extra breakdown, which is part of the implementation of small multiples that we are tracking separately. In every level of breakdown, we would allow multiple fields for the Top Values/Terms aggregation. These features would be powerful enough for all the requests I've seen, without overcomplicating the UI.

ghudgins commented 2 years ago

as of 8.1 you can now combine fields with multi field top values in Lens. we will keep this issue open to add multiple breakdown by (nested terms) and cover additional edge cases.

For those who posted on this issue, it would be good to know if 8.1's multi field top values support in lens satisfies your needs

peder82 commented 2 years ago

I am interested in this. For example, breakdowns based on two parameters like operating system and manufacturer. Currently I use filter and breakdown, but to have both parameters included in breakdown would be very convenient.

ghudgins commented 2 years ago

@peder82 we added support to breakdown by combined fields in 8.1 - I think this covers your case! Large GIF (1000x576)

peder82 commented 2 years ago

@peder82 we added support to breakdown by combined fields in 8.1 - I think this covers your case! Large GIF (1000x576)

Exactly what I want, thank you!

kush-elastic commented 1 year ago

Hey guys, I was wonder if this works same as how visualizations works. I am currently working on visualization to lens migration. I have one visualization, which contains multiple split series where i have to showcase top five load for Top five hosts. which returns me total unique 25 series in which i will get top 5 hosts with its top five load values.. how can i create such visualization in lens?

stratoula commented 7 months ago

Lens already supports this in recent kibana versions