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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...