Security

How do I set default conf files for new users?

stevennoble
Explorer

When ever I create a new user I'd like to have some default rules in there search/local/ui-prefs.conf file. Is there a template which is copied for new users?

Tags (2)
1 Solution

jtrucks
Splunk Employee
Splunk Employee

You can create this file in $SPLUNK_HOME/etc/system/local if you want to force defaults for all users. Individuals accounts can, of course, have different options, as well.

--
Jesse Trucks
Minister of Magic

View solution in original post

dmaislin_splunk
Splunk Employee
Splunk Employee

I would setup Active Directory or LDAP authentication:

http://docs.splunk.com/Documentation/Splunk/6.0/Security/SetupuserauthenticationwithLDAP

Then I would create all the groups in AD and create roles in Splunk. Then you can easily manage the default user behavior in the Splunk roles.

I would then create an app and put that as their default app as well. Finally, you don't just have to put the ui-prefs.conf in system/local, you can put it in each [appname]/default or [appname]/local.

0 Karma

jtrucks
Splunk Employee
Splunk Employee

You can create this file in $SPLUNK_HOME/etc/system/local if you want to force defaults for all users. Individuals accounts can, of course, have different options, as well.

--
Jesse Trucks
Minister of Magic
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...