Splunk Enterprise

drilldown on dropdown ?

jiaqya
Builder

is it possible to drilldown to a new panel/page on selecting an option from drop down ?

if not possible, any alternate suggestions how to achieve this ?

Tags (1)
0 Karma
1 Solution

elliotproebstel
Champion

The most "Splunk way" to do this would be to add navigation elements into the menu at the top of the page. This bar is what I'm talking about modifying:

alt text

You can modify what's displayed there by editing the Navigation Menu XML at
Settings > User Interface > Navigation Menus > default (for appropriate app)

If your Navigation menu currently looks like the one I posted, then the XML will look like this:

<nav search_view="search" color="#65A637">
  <view name="search" default='true' />
  <view name="data_models" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
</nav>

If you have two dashboards named primary_dashboard and secondary_dashboard, you could either add them individually to the navigation menu bar by editing the XML to look like this:

<nav search_view="search" color="#65A637">
  <view name="search" default='true' />
  <view name="data_models" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
  <view name="primary_dashboard" />
  <view name="secondary_dashboard" />
</nav>

Alternately, if you wanted them to be grouped together and have a little drop-down menu from which the user can select either dashboard, you use the <collection> element. So maybe you'd want them both grouped under the heading Most Useful Dashboards, then your code would look like this:

<nav search_view="search" color="#65A637">
  <view name="search" default='true' />
  <view name="data_models" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
  <collection label="Most Useful Dashboards">
    <view name="primary_dashboard" />
    <view name="secondary_dashboard" />
  </collection>
</nav>

View solution in original post

0 Karma

jiaqya
Builder

yes, if i select an option from drop down it has to go to a new page.

the reason for us to do this is that the current page has too many panels and users have to scroll many times to get to any panels that are below or between.

so idea is to send some of them to a new page.
but we dont want to publish 2 pages, we want to have only 1 main page and then users can choose from drilldown and get redirected to a new page...

0 Karma

493669
Super Champion

so is there any submit button is also present? like on submit click move to new dashboard?

0 Karma

493669
Super Champion

Yes it is possible ....what are you expecting drilldown to new panel or page?

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...