Dashboards & Visualizations

Is there a way to have user1 when they login go to dashboard1 and user2 go to dashboard2?

dbcase
Motivator

Hi,

I'm trying to find a way to have a given user when they login go to a given dashboard (and only be allowed to view the dashboard, not go anywhere else). This wouldn't be a default dashboard as I would need other users to go to other dashboards when they login.

I'm using Splunk Cloud by the way....

Thanks!

Tags (1)
0 Karma

ktugwell_splunk
Splunk Employee
Splunk Employee

Hey dbcase,

There's lots of ways you can control permissions to various objects, apps, views etc in Splunk.

Here's a way you could do it:

-Create App1 and App2
-Create User1, set App1 as default app(ensuring the dashboard you want User1 to see lives inside App1)
-Create User2, set App2 as default app(ensuring the dashboard you want User2 to see lives inside App2)
-Goto Manage Apps, find App1 and click View Objects > default
You'll have something that looks like this:

<nav search_view="search" color="#65A637">
  <view name="search" default="true" />
  <view name="pivot" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
</nav>

Change it to this:

<nav search_view="search" color="#65A637">
  <view name="search" />
  <view name="pivot" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
  <view name="the_name_of_user1s_dashboard" default="true" />
</nav>

Do the same for App2

Now, when they login, they will go straight to the dashboard you want them to. (Tip: You can also change the color of the app here)

Here's a link to how you can configure their access, too!

http://docs.splunk.com/Documentation/Splunk/latest/Security/Aboutusersandroles

Hope this helps

0 Karma

dbcase
Motivator

For reference here is the entire Default XML

0 Karma

dbcase
Motivator
<> omitted

nav search_view="search" color="#65A637"
view name="search" 
  view name="pivot" 
  view name="reports" 
  view name="alerts" 
  view name="dashboards" 
  view name="touchscreen" default="true" 

nav
0 Karma

dbcase
Motivator

I keep getting page not found errors when I add

into the default Nav section. I've also tried and got the same results.

As soon as I remove the the login works but the dashboard doesn't appear as the initial screen.

Any thoughts?

0 Karma

dbcase
Motivator

Ah! Sounds easy enough. What if I have an existing dashboard that I'd like to use?

0 Karma

dbcase
Motivator

Thanks Ktugwell! Using Splunk Cloud, how would I get a dashboard to be part of an app?

0 Karma

ktugwell_splunk
Splunk Employee
Splunk Employee

All you need to do is created the dashboard within the context of your app. App name > dashboards > create new dashboard.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...