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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

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 ...