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!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...