Security

Import / Export User Data

DTERM
Contributor

I'm trying to export and import users (and preferably roles) from one Splunk instance to another with no luck.

This is the process I'm following. When I'm complete, the user accounts do not exist on the second instance.

TIA....

Export

Create a directory to export the data to (exported.data)
[root@splunk /]# mkdir exported.data
[root@splunk /]# /splunk/bin/splunk export userdata /exported.data/
Backing up to dir: /exported.data.
Exporting /splunk/etc/apps/search/local/savedsearches.conf.

Copy data to another instance

Import

[root@splunk2 root]# /splunk/bin/splunk import userdata -dir exported.data
Restoring user data from dir: exported.data.
Importing /splunk/etc/apps/search/local/savedsearches.conf.

no accounts, why??

1 Solution

Ron_Naken
Splunk Employee
Splunk Employee

Did you restart splunk2 after the import? The status notice shows that the user data was imported, but you do need to restart for the users to show.

View solution in original post

Ron_Naken
Splunk Employee
Splunk Employee

Did you restart splunk2 after the import? The status notice shows that the user data was imported, but you do need to restart for the users to show.

Get Updates on the Splunk Community!

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...

Let’s Talk Terraform

If you’re beyond the first-weeks-of-a-startup stage, chances are your application’s architecture is pretty ...