Dashboards & Visualizations

How to restrict user from links to App | Manager | Jobs?

andrey2007
Contributor

I want my users to see only my app view and can not go to(see this links) manager, app and jobs. How can i restrict it?

Tags (2)

arkadyz1
Builder

I know this is an old thread, but I still find the approach very interesting. I'm now using 6.2 - what parts of the answer will change? Will it even work now?

I know that application.css is now in a different folder, and that dashboard.css is used in most cases as a replacement - don't fully understand the difference yet. The link to "Remove access to Jobs and Alerts" is also a great one - will study it as well. However, the same question ("what should be changed in 6.2?") still applies :).

Thanks in advance!

0 Karma

andrey2007
Contributor

I made it this way: I set permisions (view and Write)for Search app only for admin, so user can not see Settings view.

0 Karma

yoho
Contributor

If you want to restrict a certain role to a set of views, you should package them in a single app and then apply these 2 steps:

  1. Modify user permissions to only allow access to this and app, and only these views
  2. Modify the views to not display the links (as you state in your original question)

I can not speak for the first item because I've not done it yet (I'm currently busy trying to implement it).

For the second part, you should, for each view you're interested in:

  1. Display the advanced XML
  2. Save it under $SPLUNK_HOME/etc/apps//default/data/ui/views/myview.xml
  3. Edit the file myview.xml
  4. Remove every line between tags and from that XML file

These views will not display the AccountBar at the top (with the links you mention).

Here, I've given the most simple solution but there are 2 variants :

  • Instead of completely disabling AccountBar from the views, just leave it but override the AccountBar Module in your application. In order to do so, create directory $SPLUNK_HOME/etc/apps/<application>/appserver/modules/AccountBar/ and copy under this directory all files named $SPLUNK_HOME/share/splunk/search_mrsparkle/modules/nav/AccountBar.* . Then you can edit the html of this component to completely change the appearance of the AccountBar (the syntax of this file is mako)
  • Use your application css to "hide" the links. Edit file located under $SPLUNK_HOME/etc/apps/<application>/appserver/static/application.css and override the styles used to display these links with visibility:hidden. I find this a relatively ugly solution but it's quick. Some more details available here.
0 Karma

yoho
Contributor

Little update:
1. I've implemented the first step described above by using standard "local.meta" configuration files. UI can probably be used too.
2. Be careful that customizing top elements of a view in Splunk 6 has been limited to only a few possibilities. We'll have to test if overriding these elements still works.

0 Karma
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!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...