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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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