Dashboards & Visualizations

Creating A Drop Down for multiple Panel within Dashboard?

asarran
Path Finder

Good Morning, Fellow Splunkers

I have a few questions pertaining implementation of drop down menu to help manage multiple panels within Dashboard? I don't have admin access to install any variations of scripts. Would it be possible to create a drop down menu from the dashboard options? If so what would be the process?

Tags (1)
0 Karma

cmerriman
Super Champion

I don't use a dropdown, I use checkboxes, but you might be able to manage this with a dropdown. When unchecked, the panels will not appear. Keep adding panels and depends on the panel tokens.

  <row>
    <panel>
      <input type="checkbox" token="panel1" searchWhenChanged="true">
        <label>panel1</label>
        <choice value="true">Show</choice>
        <change>
          <condition label="Show">
            <set token="panel1">true</set>
          </condition>
        </change>
        <default>true</default>
      </input>
      <input type="checkbox" token="panel2" searchWhenChanged="true">
        <label>panel2</label>
        <choice value="true">Show</choice>
        <change>
          <condition label="Show">
            <set token="panel2">true</set>
          </condition>
        </change>
        <default>true</default>
      </input>
      <input type="checkbox" token="panel3" searchWhenChanged="true">
        <label>panel3</label>
        <choice value="true">Show</choice>
        <change>
              <condition label="Show">
                <set token="panel3">true</set>
              </condition>
            </change>
            <default>true</default>
          </input>
       </panel>
      </row>
  </row>
  <row>
    <panel depends="$panel1$">
      <single>
        <search>
          <query>...</query>
        </search>
      </single>
</row>
0 Karma

gcusello
SplunkTrust
SplunkTrust

I don't know if I correctly understood you need: you cannot manage App menu so you would launch dashboards using another dashboard?
If this is your need you could create a dashboard with html panels and launch dashboards from it.

  <row>
    <panel>
      <html>
        <h2>Security Operations</h2>
        <ul>
          <a target="_blank" href="/app/myapp1"><img src="/static/app/navigator/appIcon.png" style="height:40px;border:0;"/> > My App 1</a>
        </ul>
        <ul>
          <a target="_blank" href="/app/myapp2"><img src="/static/app/myapp2/appIcon.png" style="height:40px;border:0;"/> > My App 2</a>
        </ul>
      </html>
  </row>

Bye.
Giuseppe

0 Karma

cmerriman
Super Champion

Are you trying to hide certain panels?

0 Karma

asarran
Path Finder

Yes, I have multiple panels within my dashboard and at times it can be overwhelming. I would like to implement a dropdown solution.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...