Splunk Search

Coloring a stats table value based on condition

shabdadev
Engager

Hi ALL,

I have this url

URL                                           ResponseTime
/wcs/resources/store/10151/storelocation/v1_0   300

I want to compare the response time to SLA ( 500 ) and color the value based on below condition.
If Response time is greater than 500 ... color the '300' as .RED
If Response time is less than 500 ......color the '300'as Green

In Splunk since i have user level access , is it possible to color code the value by making changes in source code XML without writing any CSS .?? If yes how ??

0 Karma

andrey2007
Contributor

Try to use standard color options for table: Color>Ranges

http://docs.splunk.com/Documentation/Splunk/latest/Viz/TableFormatsFormatting

0 Karma

shabdadev
Engager

Thanks....
I Already applied this option.
But consider a situation where i have different URL's with different SLA's
and just on the basis of comparison of response time with SLA .....i want to make the values RED or green

then how do you suggest to resolve this ???

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...