Dashboards & Visualizations

Help on navigation sub-menus

jip31
Motivator

Hi,
In my nav menu, I use two links towards two dashboard:

<nav search_view="SA_Test_sh" color="#FF0000">
<view name="diskhealth" default='true'  />
<view name="battery" />
</nav>

In diskhealth link, I would like to have two sub menus.
I tried but I did not succeed.
Thanks for your help.

0 Karma
1 Solution

ALXWBR
Path Finder

YOURAPP > Settings > User Interface > Navigation menus > then find the default menu for your app

<nav search_view="search" color="#1D1D1B"> 
  <a href="link_1">Link 1</a>
  <collection label="Sub Links">
        <a href="sub_link_1">Sub Link 1</a>
        <a href="sub_link_2">Sub Link 2</a>
  </collection>
    <view name="search" default='true' />
    <view name="reports" />
    <view name="alerts" />
    <view name="dashboards" />
</nav>

View solution in original post

ALXWBR
Path Finder

YOURAPP > Settings > User Interface > Navigation menus > then find the default menu for your app

<nav search_view="search" color="#1D1D1B"> 
  <a href="link_1">Link 1</a>
  <collection label="Sub Links">
        <a href="sub_link_1">Sub Link 1</a>
        <a href="sub_link_2">Sub Link 2</a>
  </collection>
    <view name="search" default='true' />
    <view name="reports" />
    <view name="alerts" />
    <view name="dashboards" />
</nav>

arnaudhebert
Engager

Nested collection works great as well

<nav search_view="search" color="#1D1D1B"> 
  <a href="link_1">Link 1</a>
  <collection label="Sub Links">
        <a href="sub_link_1">Sub Link 1</a>
        <a href="sub_link_2">Sub Link 2</a>
        <collection label="Sub sub Links">
              <a href="sub_link_1">Sub sub Link 1</a>
              <a href="sub_link_2">Sub sub Link 2</a>
        </collection>
  </collection>
    <view name="search" default='true' />
    <view name="reports" />
    <view name="alerts" />
    <view name="dashboards" />
</nav>
0 Karma

jip31
Motivator

When I am doing, it works

  <collection label="Sub Links">
         <a href="sub_link_1">Sub Link 1</a>
         <a href="sub_link_2">Sub Link 2</a>
   </collection>

But instead an href link, I need a view name
So I am doing this but it doesn't works!

   <collection label="Sub Links">
         <view name="critical"</>
   </collection>
0 Karma

jip31
Motivator

Oh sorry It works now! thanks

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please post your current nav menu XML.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...