Dashboards & Visualizations

Question regarding Dropdown Input (Folder Structure)

willadams
Contributor

Is it possible to have a "folder structure" within a single drop down within a dashboard. My use case is to display certain objects within a dashboard. The information displayed is dependent on the user making a selection in the drop down. The drop down would be similar to the following:

<Heading 1>
  <Topic 1>
  <Topic 2>
  <Topic 3>
  <Topic ....>
<Heading 2>
 <Topic A>
 <Topic B>
 <Topic C>
 <Topic .....>

The drop down options are static and not dynamic (I intend to add a search function as a phase 2 thing) but initially just trying to get the drop downs as needed.

I am using a "panel depends...." configuration in the XML to show the content depending on the selection made. The only way that I am aware of to make the drop down work the way I want is to add multiple inputs but then I can't use the same token value in each input so that when a select changes the panel changes. The alternate way is to prefix each drop down but visually that doesn't look nice, e.g.

<heading1 - topic1>
<heading1 - topic2>
<heading1 - topic3>
<heading1 - topic....>
<heading2 - topica>
<heading2 - topicb>
<heading2 - topicc>
<heading2 - topic....>
Tags (1)
0 Karma

493669
Super Champion
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!

[Puzzles] Solve, Learn, Repeat: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...