Security

Set default application to a new Role via .conf file

chimbudp
Contributor

1.Due to some reverse proxy issues I can’t create a new Role in Splunk Web UI.
2.I have created a new role via authorize.conf file.
3.I need to set a default application for this new role via config file.

Where do I set this? Which file i need to Edit?

Kindly please help

Tags (1)
0 Karma

aholzer
Motivator

Go to $SPLUNK_HOME/etc/apps/user-prefs/local/user-prefs.conf and add something like this:

[YOUR_ROLE]
default_namespace = YOUR_DEFAULT_APP

Where you replace "YOUR_ROLE" with the name of the role you wish to set a default for, and replace "YOUR_DEFAULT_APP" with the name of the app you wish the role to default to.

Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...