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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...