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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...