Splunk Search

How do you set panel specific color ranges for single value visualizations that contain a % sign in Splunk 6.3?

pepper_seattle
Path Finder

Hello,

Splunk 6.3 allows you to set colors by ranges with a hard coded min and max setting that you can eval in your search (possibly else where too?), but it appears that if you are using a single value visualization with percentages that include the % sign, the coloring won't work properly (black background instead of green or red). In previous versions I've used

| fieldformat <field> = <field> . " %" 

to get around the % sign changing a value to a string, but this doesn't work with this case.

Question:
How do you set panel specific color ranges for single value visualizations that contain a % sign in Splunk 6.3?

0 Karma
1 Solution

mporath_splunk
Splunk Employee
Splunk Employee

Fieldformat is not recognized for Single Value in 6.3.
You could set the "%" as an "After Label", and leave the number as is.

View solution in original post

mporath_splunk
Splunk Employee
Splunk Employee

Fieldformat is not recognized for Single Value in 6.3.
You could set the "%" as an "After Label", and leave the number as is.

pepper_seattle
Path Finder

Thanks @mporath, I found the labeling quite useful to get around this. Just unfortunate that it can't also be done through querying.

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...