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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...