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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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