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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...