Dashboards & Visualizations

Rules for Color in Pie Chart

Zakary_n
Path Finder

I'd like to create rules when it comes to color with my Pie Chart.

Problem is, there are variable in my label names, for example I have things like "USA [1990]" , "USA [2016]", "USA [2018]"

I'd like all the "USA" to be the same color.

So I create an option.name looking like this :

option name="charting.fieldColors"
{"%USA%":0xFF0000}
/option

But it won't work. Do you guys have any idea how to achieve that ?

0 Karma
1 Solution

Zakary_n
Path Finder

Unfortunatly, nothing to be done in the current state of Splunk to solve this.

View solution in original post

0 Karma

Zakary_n
Path Finder

Unfortunatly, nothing to be done in the current state of Splunk to solve this.

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

Hi @Zakary_n,

Unfortunately % will not work in charting option fieldColors. So one way that you can achieve is that merge all USA with search only with eval and then add drilldown in the pie chart to check data separated by years.

Hope this helps!!!

Get Updates on the Splunk Community!

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

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