Dashboards & Visualizations

How do I Customise Navigation?

bdunstan
Path Finder

Hi,

I tried to find this in the docs, but no luck, more than happy to RTM if someone has the link.

On the black menu, top right, there is Help, with Sub Menus of:
...
Tutorials
Help with this page
File a bug
...

I want to change where these either point to, or want to be able to leverage the link they point to; for example

Help with this page : Where do I put my own docs so they will be used ?

File a bug: I want this to point to my Jira

Tutorials : I want this to point to a wiki or sharepoint or ?

Cheers
-brett

Labels (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

You are messing with what Splunk provides as a product so as obvious you cannot modify it with configuration.

 

Though if you are a JavaScript hero and you can modify anything on the web page. But I don't recommend this and I also don't know the legal aspect of it.

0 Karma

bdunstan
Path Finder

Thanks - thats what I found so far as well...

I have raised it in ideas.splunk.com, to see if it can happen in the future.

0 Karma

bdunstan
Path Finder

Hi,

This will add a menu to my current application, what I am looking to do is use the menu (in the black bar) at the Splunk level, as seen from the attached screen shot

 

Screen Shot 2021-10-29 at 11.05.25 am.png

0 Karma

bowesmana
SplunkTrust
SplunkTrust

@bdunstan 

Never change a file in the default folder. Always copy that file to the same file path, but in a folder called local, otherwise if the app is updated, you will lose changes in default. Based on the comments form @PradReddy , if you edit 

$SPLUNK_HOME/etc/apps/appname/default/data/ui/nav/default.xml

make sure you save that file to

$SPLUNK_HOME/etc/apps/appname/local/data/ui/nav/default.xml

 

0 Karma

PradReddy
Path Finder

Hi bdunstan,

To modify the app bar for your custom app, edit its navigation definition file, default.xml. You must refresh Splunk Web before you can see your changes.

1) In your text editor, open $SPLUNK_HOME/etc/apps/appname/default/data/ui/nav/default.xml.
2) Make your changes to the XML, then save the file. 
3) To view changes, navigate to http://<host>:<mport>/debug/refresh, click Refresh to refresh Splunk Web, then navigate to your app in the web browser.

Code for your requirements

<collection label="Help">
<a href="link">Tutorials</a>
<a href="link">Help with this page</a>
<a href="link">File a bug</a>
</collection>

------

An upvote would be appreciated and Accept Solution if it helps!

0 Karma

bdunstan
Path Finder

Hi @PradReddy ,

Sorry for not replying to this, I have been out...

This will change the menu at the application level, I am looking to change it at the Splunk level - where the `black` bar is (not the grey bar).

Therefore, anyone know if there is a way to add/change the menus at the Splunk level.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...