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.
@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!!!
@VatsalJagani Thank you your input. The Type $event_type$ is the token name. If I remove that the dropdown will not work.
@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.
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
@gcusello Thank you Giuseppe for your input. I tried this but their is option like that when I click the pen.