I want to create a table that has severity levels of high medium and low and I want the words High medium and low to be in different colors. Is that possible in Kibana?
Hi @aaron1,
welcome to the Kibana community!
I think you have two options for this use case:
- You can configure a formatter for the
severityfield in theDataViews/Index patternmanagement panel and use theColorformatter. Once configured the color will apply for all visualizations using this field.
- If you can create a runtime field that maps each string to a number, you could use Lens datatable dynamic coloring to configure a custom palette based on numeric values. You won't have the actual text value in the cell rather than numeric one, but color already encodes the severity meaning. The advantage of this approach is that other visualizations won't be affected by the coloring.
We're working in Lens to make color by term easier in the future, but it's still in development: [Lens] Support categorical coloring by name · Issue #101942 · elastic/kibana · GitHub
1 Like
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
