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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...