Refine your search:

2
1

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

asked 07 Feb '11, 17:50

DTERM's gravatar image

DTERM
32911948
accept rate: 53%

edited 07 Feb '11, 17:55

ftk's gravatar image

ftk ♦
7.2k5834


One Answer:

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.

link

answered 08 Feb '11, 03:06

Ron%20Naken's gravatar image

Ron Naken
4.3k5727
accept rate: 38%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×162
×145
×66
×25

Asked: 07 Feb '11, 17:50

Seen: 3,196 times

Last updated: 08 Feb '11, 03:06

Copyright © 2005-2014 Splunk Inc. All rights reserved.