Dashboards & Visualizations

How to create a panel with a drop-down showing all dashboard names, and display the selected dashboard on-click?

thezero
Path Finder

How to create a drop-down button which will display all dashboard names in a drop-down and on clicking on it, display the respective dashboard. Also, is it possible to merge multiple dashboards to single a dashboard? How?

alt text

0 Karma
1 Solution

woodcock
Esteemed Legend

You can package all of your dashboards into an app and if you do it like this, you will have a menu called "MyApp dashboards" at the top.

/opt/splunk/etc/apps/MyApp/default/data/ui/nav/default.xml:

<nav>
  <view name="MyApp_dashboards" default="true" />
  <collection label="MyApp Dashboards">
    <view name="MyApp_dashboard_1" />
    <view name="MyApp_dashboard_2" />
    <view name="MyApp_dashboard_3" />
  </collection>
</nav>

As far as merging panels, it is a trivial matter of selecting "Edit Source" on your dashboard and copying the XML for the portions you like and pasting that inside another dashboard (again, after clicking "Edit Source"). It is that easy. Then update your default navigation view to include this new dashboard.

View solution in original post

woodcock
Esteemed Legend

You can package all of your dashboards into an app and if you do it like this, you will have a menu called "MyApp dashboards" at the top.

/opt/splunk/etc/apps/MyApp/default/data/ui/nav/default.xml:

<nav>
  <view name="MyApp_dashboards" default="true" />
  <collection label="MyApp Dashboards">
    <view name="MyApp_dashboard_1" />
    <view name="MyApp_dashboard_2" />
    <view name="MyApp_dashboard_3" />
  </collection>
</nav>

As far as merging panels, it is a trivial matter of selecting "Edit Source" on your dashboard and copying the XML for the portions you like and pasting that inside another dashboard (again, after clicking "Edit Source"). It is that easy. Then update your default navigation view to include this new dashboard.

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...