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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.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 ...