Splunk Search

How to chance color of the row based on field name

saravana22
Explorer

Hi experts,

i have below table.. how do i change background colour of the row where error Categories = Total_error_rate

Error_categories                       Percentage%
error_rate_Error                        0.1138498
error_rate_Warning                 0.0011737
error_rate_Critical                   0.0000000
error_rate_HTTP                       6.5950704
Total_error_rate                        6.7100939

 

Thank you 🙂

Labels (1)
0 Karma

somesoni2
Revered Legend
0 Karma

saravana22
Explorer

its not worked for me...  i want color the entire row where field value = Total_error_rate

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

The technique @somesoni2  pointed you too works for the entire row assuming you have listed your fields correctly on the foreach command (although you could use * to get them all too). A wrinkle might be that you may need to put the <<FIELD>> in quotes (double for left of assignments and single for right of assignments) if your field names are other than simple words. Please can you post what you have done which is not working for you?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...