Dashboards & Visualizations

Different Navigation menu for different users

balamurugand
Engager

How to create different Navigation menu for different users in a single application ?
Please explain step by step.

Tags (1)

Drainy
Champion

Step 1 - Search for help, a good start is the documentation at docs.splunk.com

Step 2 - Read the docs, http://docs.splunk.com/Documentation/Splunk/4.3/Developer/Step6BuildNavigation

Step 3 - Digest and ponder a solution using your new-found knowledge.

Step 4 - I realise that users will only see dashboards they have permission to view and so I can be clever with assigning roles to users and setting permissions on dashboards.

Step 5 - Return to Splunkbase with more specific problem and/or issue.

Bonus Step - Search for this problem on Splunkbase, I've found two results (and oddly I answered them both!)

http://splunk-base.splunk.com/answers/43845/navigation-menu

http://splunk-base.splunk.com/answers/37926/multiple-defaultxml-navs-specify-which-user-gets-what

Drainy
Champion

Exactly. Leave a default selection off and it will use the first entry in the list.

0 Karma

splunk47
New Member

did you find the answer for that?

0 Karma

aneeshkjm123
Path Finder

If we create default.xml like


It will get reflected like:

For admin,



And For user1,

Is this Drainy meant ?

Drainy
Champion

Not quite, in one of those links I believe I covered this. Splunk will show the one labelled as "default" on page load, but if there is no default defined it will display the first page. So in your instance, make no default but set all the default dashboards at the top of your nav. This way the user will load into the first one they have permission to access. Oh and its a bit harsh to vote down an answer that answers your question! 🙂

0 Karma

balamurugand
Engager

Hi Drainy's

yes creating diff role and assigning the view is ok, but for user1 i would like to show some default view. same like other users also.
i.e
User1 - DashBoard - View1.
User2 - flashtime line - View2.

in splunk we are having only one default.xml for navigation menu.. basically we will define the "defualt=true" in that xml file. so we are having diff users so how to make it ready for othrs.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...