How to create different Navigation menu for different users in a single application ?
Please explain step by step.
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
Exactly. Leave a default selection off and it will use the first entry in the list.
did you find the answer for that?
If we create default.xml like
It will get reflected like:
For admin,
And For user1,
Is this Drainy meant ?
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! 🙂
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.