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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...