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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...