-
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
Lens: Series with same names of different layers not distinguishable #61966
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
@flash1293 the example you've given doesn't look like a useful visualization, because you've built 2 identical queries and are trying to visualize them. Is there a better example? Regardless of the example, your request for better naming is totally reasonable, but I'm trying to understand how important it is to make a change here. |
@wylieconlon I'm not sure how often this comes up in real-world scenarios. IMHO it's plausible though - when overlaying data from multiple sources in the same chart your serie names can collide very easily as you are very likely working within a single domain. A fictional example: |
idea: name a layer and pre-append this to series |
+1 #136069 |
Does any workaround for this exist? I have a cluster of 5 nodes that log the exact same metrics, except they have a custom "_node_name" tag attached to each log. In the first visualisation I plot "valueA" broken down by "_node_name" |
@MichaelMarcialis I started working on this but I realized I need design support. Could you assist with the following questions?
|
@flash1293: Forgive me, as this is the first time I'm seeing this issue and likely don't have the full history of the decisions made. Out of curiosity, why was it determined that the solution to this issue should be to allow users to add a custom name to the visualization layers? Instead, could we simply use the related dimension's name as the string used to prepend/append to the duplicative terms to better identify where they originating from? I imagine this would be a much lighter lift on the engineering side and also requires less work on the part of the user. So given your original example, could we not simply use the names provided to the breakdown dimensions to prepend/append to the duplicative terms? |
Good idea @MichaelMarcialis - Would you imagine this as a setting of the breakdown dimension or an automatic thing as soon as there are multiple layers using breakdowns? |
My first instinct is to say that applying the prepend/append automatically as soon as multiple layer breakdowns are in play is probably the most user-friendly approach. However, I'll defer to you and @ghudgins if there are some cases that I'm not considering where it wouldn't be ideal. |
When creating an xy chart with multiple layers and split series which map to the same name (e.g. because a terms agg is used and both layers return the same terms), the chart is not indicating somehow which series belongs to which layer.
In the screenshot both layers produce
jpg
,css
andpng
series, but they can't be mapped back to the datasource.A possible solution would be to allow to name a layer and prepend its name to the series name.
The text was updated successfully, but these errors were encountered: