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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...