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!

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

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...