Splunk Search

Input Filter and the supporting panels

prettysunshinez
Explorer

I have a dropdown(say field A) as input to a dashboard.

And this dropdown value is passed/used only in certain panels in the dashboard.

The other panels(where this field value is not used) should be displayed as normal when the dropdown value is "*"

But when the dropdown value other than "*" is selected,then these others panels should be displayed in grey color..

Note : the panels where the dropdown values is not used are single value charts,and they are displayed in green,amber and red depending on the values it display..But when the dropdown value other than "*" is selected,it should be greyed out.

Kindly help

 

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try adding conditions to your inputs.  The condition would be "$foo$=*".  If it passes then it sets another token, like show_other_panels; if the condition fails then it clears the token.  The other panels would be dependent on the "show_other_panels" token.

---
If this reply helps you, Karma would be appreciated.
0 Karma

prettysunshinez
Explorer

I tried this.

<change>

<condition label="ALL">

<set token="color">"red","green","yellow"</set>

</condition>

<condition label!="ALL">

<set token="color">"red","green","yellow"</set>

</condition>

</change>

 

But am unable to give label!="ALL".

It is throwing an error

 

 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I'm not that strong with this so these suggestions may not help.  My first thought is to set the color to a default value first and change it if "ALL" is selected.

 

<init>
  <set token="color">non-ALL value</set>
</init>
...
<change>
  <condition label="ALL">
    <set token="color">"red","green","yellow"</set>
  </condition>
</change>

 

 My second thought is to try the match function.

 

<change>
  <condition label="ALL">
    <set token="color">"red","green","yellow"</set>
  </condition>
  <condition match="foo!='ALL'">
    <set token="color">"red","green","yellow"</set>
  </condition>
</change>

 

---
If this reply helps you, Karma would be appreciated.
0 Karma

prettysunshinez
Explorer

Thanks.

Could you show me how to do that please.

 

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk &#43; Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...