Dashboards & Visualizations

Multiple dropdown help

kallisrayar1986
Path Finder

I have 2 drop downs, the output of the first one will be the input to the second. After the first drop down selection, if i change the first drop down value the second drop downs displays the last selected value instead of showing an empty or a default value.

Please help.

Simple XML:

1st Dropdown -

  <label>Select a Version:</label>
  <prefix>"</prefix>
  <suffix>"</suffix>
  <default>*</default>
  <choice value="*">Select a version</choice>
  <populatingSearch fieldForValue="version01" fieldForLabel="version01" earliest="0" latest="now">
    <![CDATA[QUERY]]>
  </populatingSearch>
</input>

2nd Dropdown -

  <label>Select a test id</label>
  <selectFirstChoice>true</selectFirstChoice>
  <prefix>test_id="</prefix>
  <suffix>"</suffix>
  <default>*</default>
  <choice value="*">ALL</choice>
  <populatingSearch fieldForValue="test_id" fieldForLabel="test_id" earliest="0" latest="now">
    <![CDATA[index=XXX version=$version01$ | stats count by test_id]]>
  </populatingSearch>
</input>

bryanit715
Engager

hmm did you ever solve your issue? I actually am running in to the exact same thing

0 Karma

knutsod
Path Finder
0 Karma

kallisrayar1986
Path Finder

It did not help, the problem occurs when i select some other value in the first dropdown, the second drop value remains unchanged even though the second drop down search is executed and populated behind the screen.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...