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!

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