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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...