All Apps and Add-ons

add a new navigation menu to an app and link it to a certain dashboard

erdalcan
New Member

I have created a new app and want to to add a new navigation menu to open a certain dashboard
Went to: Manager > User interface > Navigation menus
and added this line:

 <collection label="Dashboards">
    <view name="mydashboard" />
  </collection>
  <collection label="Search views">
    <view name="mysearchview" />
    <a href="http://google.com">Google</a>
  </collection>

how ever, this only creates the "search views" menu and a link to google.com
would it be possible to change the menu to open a certain dashboard?
Or even open a blank dashboard which I could edit and put all the information ?
The reason is that I have one big dashboard and need to filter out the information.
Was thinking of originally to create buttons to servers and their dashboards, but that isnt possible.
Adding menu's for the servers seems a good solution. User can just click on the menu and will get the dashboard for the server.

Tags (1)
0 Karma
1 Solution

mattymo
Splunk Employee
Splunk Employee

Absolutely!

You can link the nav to anything in $SPLUNK_HOME/etc/apps/<yourapp>/<default | local>/data/ui/views - note ur path should be either default OR local as denoted by the pipe in my example path. If you save a dashboard in an app, you can see it under that app's local/data/ui/views.

See http://dev.splunk.com/view/webframework-developapps/SP-CAAAEP9 for all the magic tricks you can learn! 🙂

- MattyMo

View solution in original post

mattymo
Splunk Employee
Splunk Employee

Absolutely!

You can link the nav to anything in $SPLUNK_HOME/etc/apps/<yourapp>/<default | local>/data/ui/views - note ur path should be either default OR local as denoted by the pipe in my example path. If you save a dashboard in an app, you can see it under that app's local/data/ui/views.

See http://dev.splunk.com/view/webframework-developapps/SP-CAAAEP9 for all the magic tricks you can learn! 🙂

- MattyMo
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...