Dashboards & Visualizations

How to change Dynamic Dropdown percentage and color?

Khanu89
Path Finder

I have added a dropdown in my panel as shown below. My issue is that regardless of which option I chose it shows red in the pie chart and 100%. I would like to know how I can change colors by the selection and also for the percentage to update based on the selection from the drop down.

Screen Shot 2022-04-28 at 10.36.45 PM.pngScreen Shot 2022-04-28 at 10.37.04 PM.png

Labels (4)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@Khanu89 - I feel like you don't need the Type input dropdown.

Think, when you select the type="informational" all Pie chart has is "informational", 100% of the values are from it.

So try removing the Type=$event_type$ from the query of the pie chart.

 

I hope this helps!!!

0 Karma

Khanu89
Path Finder

@VatsalJagani Thank you your input. The Type $event_type$ is the token name. If I remove that the dropdown will not work.

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@Khanu89 - That's what I'm saying you can remove the dropdown you don't need as you are using a pie chart that will show all those values at the same time.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Khanu89,

you can choose the colors for the percentage values clicking (in Dashboard Edit Mode) on the Value Format option (the one with the pen) of the panel, and setup the colors associated to the values.

For more infos see at https://docs.splunk.com/Documentation/Splunk/latest/Viz/SingleValueFormatting 

Ciao.

Giuseppe

0 Karma

Khanu89
Path Finder

@gcusello Thank you Giuseppe for your input. I tried this but their is option like that when I click the pen.
Screen Shot 2022-04-29 at 9.14.51 AM.png

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