Dashboards & Visualizations

How do I refresh all Dropdowns when Submit button is pressed?

BenjaminCCC
Loves-to-Learn Lots

I have a Dashboard that has multiple Dropdowns (Environment, Time Range, Application, Search Parameters) and I have a submit button after all of these. The Application Dropdown is special in the fact that there are 2 applications that need to have the application tag added to the end of it in order to search correctly. Ex, If I want to search for an application most of them look like "index=name source=name app=appname" but for 2 of the applications it needs to look like "index=name source=name app=appname$environment$" I have figured out how to alter the token value based on whether the special apps are chosen using :

<input type="dropdown" token="application" searchWhenChanged="false">

    <choice value="normalapp1">Normal App 1</choice>
    <choice value="normalapp2">Normal App 1</choice>
    <choice value="specialapp1">Special App 1</choice>
    <choice value="specialapp2">Special App 2</choice>

    <change>
        <condition value="specialapp1">
            <set token="application">specialapp1$environment$</set>
        </condition>
        <condition value="specialapp2">
            <set token="application">specialapp2$environment$</set>
        </condition>
    </change>

</input>

The problem is that these changes are nested in this one dropdown so it only works properly when I change the application dropdown and not every time I press submit. Does anybody have a solution for updating all of the dropdowns every time the Submit button is pressed?

Labels (2)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Introducing ITSI 5.0: Unified Visibility and Actionable Insights

Introducing ITSI 5.0: Unified Visibility and Actionable Insights Tuesday, July 21, 2026  |  10:00AM PT / ...

Inside Splunk Agent Observability: Understanding Agent Behavior, Tokens & Costs

Inside Splunk Agent Observability:Understanding Agent Behavior, Tokens & Costs Thursday, August 06, ...

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...