elastic / kibana

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

[Lens] Color non-numeric metrics using color mapping #200879

Open markov00 opened 1 week ago

markov00 commented 1 week ago

Describe the feature: Currently Lens Metric can apply a color by value only to numeric metrics. With the addition of https://github.com/elastic/kibana/issues/137756 also strings, IP etc can now be used and represented as the metric value. The request here is to provide the color mapping capability to all non-numeric fields.

Describe a specific use case for the feature: If you have for example a boolean value that represents an on/off status, it will be great to represent and enhance the visualization with semantic colors (e.g. red off, green on).

related/similar to https://github.com/elastic/kibana/issues/168999

elasticmachine commented 1 week ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)