Splunk Enterprise

How to color cells based on there values and bases on the cells before it?

robertlynch2020
Motivator

Hi

I have lots of data that I want to see on one screen, so I need to use a transpose.

When I do this I cant add colours easily

As you can see below this is what I want.

when the % is over 100 it goes red and below 100 it goes green, but only for the columns with % in then.

robertlynch2020_0-1648753358927.png

Any help would is great thanks.

Labels (1)
Tags (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

You can also do this with CSS (no javascript)

https://community.splunk.com/t5/Dashboards-Visualizations/Highlight-row-if-unique-values-exist-withi... 

Essentially, you extend the fields you want coloured with a multivalue representing the colour you want, use colour palette to convert the value to a colour and use CSS to hide the additional multivalue.

View solution in original post

robertlynch2020
Motivator

Hi

 

IN the end i used this answer to get me where i needed to go.

https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condit...

 

robertlynch2020_0-1649062457155.png

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You can also do this with CSS (no javascript)

https://community.splunk.com/t5/Dashboards-Visualizations/Highlight-row-if-unique-values-exist-withi... 

Essentially, you extend the fields you want coloured with a multivalue representing the colour you want, use colour palette to convert the value to a colour and use CSS to hide the additional multivalue.

robertlynch2020
Motivator

Hi

 

This for the answer. 

I used this one and yours to get me there.

https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condit...

 

robertlynch2020_0-1649062529009.png

 

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...