top of page
Search

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

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:

  1. Add a collection label:

    1. <collection label="YOUR LABEL">

  2. Add the dashboards (views) you want inside the collection:

    1. <view name="view_name" />

  3. Close the Collection tsg:

    1. </collection>

  4. Click Save

Screenshot Example:







Step 5: Add Nested Submenus

To create submenus under a primary title:

  1. Start the primary collection:

a.  <collection label="Primary Title">

  1. Add a nested collection:

a.  <collection label="Sub Title">

  1. Add views under the nested collection:

    a. <view name="view_name" />

  2. Close the nested collection:

a.  </collection>

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


bottom of page