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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...