Splunk Search

How to add colors to the columns based on conditions?

swetar
New Member

Hi everyone,

I wanted to highlight the row values based on condition. I am new to CSS and JS . Can you please guide me
TARGET STATE COLOUR
ONLINE ONLINE GREEN
OFFLINE ONLINE RED
OFFLINE OFFLINE GREY

Thanks 🙂

alt text

0 Karma
1 Solution

renjith_nair
Legend

@swetar ,
Refer to the splunk dashboard examples where you have these examples : https://splunkbase.splunk.com/app/1603/

Below is another answer which does the same.

https://answers.splunk.com/answers/670546/how-to-change-color-of-entire-row-based-on-field-v.html

Happy Splunking!

View solution in original post

0 Karma

renjith_nair
Legend

@swetar ,
Refer to the splunk dashboard examples where you have these examples : https://splunkbase.splunk.com/app/1603/

Below is another answer which does the same.

https://answers.splunk.com/answers/670546/how-to-change-color-of-entire-row-based-on-field-v.html

Happy Splunking!
0 Karma

swetar
New Member

@ renjith.nair
Thanks!! it worked...

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...