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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...