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??
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.
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.