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!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

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