How to Effectively Create Dropdowns on Your App for Enhanced User Experience in 5 steps
- Maurice Law

- Feb 12
- 2 min read
Updated: Feb 13
Overview
This document explains how to organize the default dropdown menu in a Splunk dashboard.
Pre-requisites
Before you begin:
Confirm you are on the correct server (GUI shows server name)
Confirm the correct app name you are working in
Step 1: Open the App
1. In the GUI, click Apps
2. Find and open the correct app
screenshot example:

Step 2: Access Navigation Menus
1. Go to Settings
2. Select User Interface
3. Click Navigation Menus
Step 3: Select the App and Default Menu
1. Under App, select the app associated with the dashboard you are configuring
2. Click Default under Navigation Name
Screenshots Example


Step 4: Edit XML Configuration
To create a dropdown:
Add a collection label:
<collection label="YOUR LABEL">
Add the dashboards (views) you want inside the collection:
<view name="view_name" />
Close the Collection tsg:
</collection>
Click Save
Screenshot Example:

Step 5: Add Nested Submenus
To create submenus under a primary title:
Start the primary collection:
a. <collection label="Primary Title">
Add a nested collection:
a. <collection label="Sub Title">
Add views under the nested collection:
a. <view name="view_name" />
Close the nested collection:
a. </collection>
Close the primary collection:
a.</collection>
Screenshot example:

Example of nested structure:
<collection label="Palo Alto Dashboards">
<collection label="Activity">
<view name="user_activity" />
<view name="web_activity" />
</collection>
</collection>
Optional:
add default="true"/> if want go straight to your dashboard from your custom app
<collection label="Windows Dashboard">
<view name="name_of_dashboard" default="true"/>
</collection>
This view will automatically open when the collection is selected.
When a user clicks "name_of_dashboard in the app navigation
Splunk automatically opens: "name_of_dashboard"
Additional Screenshot example for that on a custom dashboard:

Make sure to hit the save buttom when you are finished to capture all the work.





Comments