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.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...