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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...