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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...