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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...