Installation

Migrating users from 4.0 to 5.0

jacobs_acando
New Member

We're still using a Splunk 4.0 instance and want to upgrade to Splunk 5 (or even 6).
Now the question is how users can be migrated between those two versions?

I've tried the

splunk export userdata
splunk import userdata

commands.

The users are created in passwd but a login isn't possible ("wrong password") in the new Splunk. I've read that they way how Splunk hashes/salts passwords has been changed between Splunk 4.0 and 5 and it seems that this not taken into account when importing users from an old instance? Also the user folders with their custom configurations are not migrated.

Well, as I'm writing this down and thinking about it I notice that if it's actually true that the hashing algorithm has changed of course Splunk cannot migrate the passwords. Does this really mean all users have to be manually recreated?

Tags (3)
0 Karma
1 Solution

MuS
Legend

Hi jacobs_acando,

direct upgrade from 4.1 (or earlier versions) to 5.x or even 6.x is not supported.
You should upgrade to 4.2 first, see the docs about it, and upgrade to the next version you finally want. Just remember to check each doc on how to upgrade from previous versions.

hope this helps ...

cheers, MuS

View solution in original post

MuS
Legend

Hi jacobs_acando,

direct upgrade from 4.1 (or earlier versions) to 5.x or even 6.x is not supported.
You should upgrade to 4.2 first, see the docs about it, and upgrade to the next version you finally want. Just remember to check each doc on how to upgrade from previous versions.

hope this helps ...

cheers, MuS

MuS
Legend

Save a backup of your 4.x install and test the upgrade path. If you follow the instruction, there should be no problem with your users.

0 Karma

jacobs_acando
New Member

So the upgrade path 4.0 -> 4.2 -> 5.0/6.0 will retain the users and user data?

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...