Splunk Search

Highlight field if x > 50

mattbirk
Explorer

I am trying to figure out a way in Splunk to have the results highlighted if my if statement is true.

For example, if CPU usage is > 50%, how can I get that field in my table to be highlighted? Is this possible? Thanks.

Tags (2)
0 Karma

woodcock
Esteemed Legend
0 Karma

mattbirk
Explorer

Hmm, that seems right, but it doesn't appear to work. For example I have:

rangemap field=CPU_Useage red=50-100 green=1-49 default=grey

What this does is add a field after each event with the word red, green, or grey, but doesn't actually highlight the number like I am looking to do. Thanks.

0 Karma

woodcock
Esteemed Legend

There are a large handful of completely different solutions on the page in my answer; have you tried them all?

0 Karma

stephanefotso
Motivator

Hello! The Table cell highlighting dashboard in the splunk-6x-dashboard-examples app is an example of what you need. Take a look at it, and let me know it any issue.
Thanks

SGF
0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...