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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...