Dashboards & Visualizations

How to colour an eval single value.

willsy
Communicator

index=serverX sourcetype=CAServer 
| dedup ID
| stats count
| eval status=if(count=00,"XXX is ok","XXX is not ok")
| rangemap field=count low=0-0 severe=1-100

This works and replies with 34 counts and is red, however i want to return the status with the red not just the number. I can return the status with 
| stats status  
but it is in black and white, any help is appreciated. 

Labels (1)
0 Karma
1 Solution

willsy
Communicator

Completed this, 

I added

| table status, range

got rid of any colour on the dashboard and the colour of the range took over.  

View solution in original post

Tags (1)
0 Karma

willsy
Communicator

Completed this, 

I added

| table status, range

got rid of any colour on the dashboard and the colour of the range took over.  

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...