Splunk Dev

Is there a way to migrate current running config from local account to some other account (AD)?

pavanbmishra
Path Finder

Hi ,

 

Is there a way to migrate current running config from local account to some other account (AD)? How to accomplish the same

Tags (1)
0 Karma

mcmaster
Communicator

Answer below assumes you mean ownership of configuration objects within Splunk. If you mean something else (e.g. OS-level file ownership of configuration files) then this may not apply.

If you have command line access to system and read/write access to the configuration files, the easiest option is to modify all of the local.meta files and replace references to the local account with the AD account. Doing so will require you to restart Splunk for the changes to take effect.

Alternatively, it is possible to do via the REST API, but you'll need to enumerate all of the configuration objects owned by that user and then update each one individually to the new user.

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...