elastic / kibana

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

[Lens Embeddable] Expose colors to consumers #171543

Open kertal opened 11 months ago

kertal commented 11 months ago

Describe the feature: For enabling consumers of the Lens Embeddable to get the actual configured colors and the linked aggregation values, the Lens Embeddable need to expose these configuration to the consumer, so it can be used e.g. to color rows containing one of the configured aggregation values with the matching colors

Describe a specific use case for the feature:

There's a task in our Discover redesign work where this is a requirement

171393

elasticmachine commented 11 months ago

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

kertal commented 5 months ago

I've got a question dear @elastic/kibana-visualizations , let's say we already know the values of the aggregation, e.g. a defined set of log levels, dark red -> critical, red -> error, ... would it be already possible to configure Lens in Discover with this colors? So we could use the same colors in the data table.

markov00 commented 5 months ago

yes you could. If you are using a breakdown by to get the log levels displayed then you can use/configure color mapping for doing that.

kertal commented 4 months ago

thx @markov00