Security
Highlighted

Set default application to a new Role via .conf file

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
Highlighted

Re: Set default application to a new Role via .conf file

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 "YOURROLE" with the name of the role you wish to set a default for, and replace "YOURDEFAULT_APP" with the name of the app you wish the role to default to.