Deployment Architecture

Migrate Splunk to a new server

Path Finder

I will be moving an existing Splunk installation (and all the data, inputs and customizations, etc) over to a new server (Linux to Linux) and from what I gathered from all the documentation, the process would be this:

  1. Install a default Splunk installation on the new server
  2. Make sure Splunk is not running on both servers
  3. Copy the entire install directory (/opt/splunk/ in my case) from the old server to the new server overwriting all files
  4. Start Splunk on the new server

Is this the entire process for a Linux to Linux server migration? I just need clarification because there are conflicting pieces of advice on whether you copy the files over first and then install Splunk on top, or install Splunk first and then copy the files over the new installation.

Please advise.

Tags (3)
0 Karma


Depends on the version numbers. In theory, you can do this:

  1. Stop Splunk on OLD server
  2. Copy /opt/splunk to NEW server
  3. Start Splunk on NEW server.

However, if this is also your indexer, you may have to wait a looong time to transfer the indexes.

Path Finder

Latest and greatest version - 5.0.4

And yes, this is the indexer. I'm looking at applying retention rules to the indexes before migration to hopefully reduce db sizes.

0 Karma
Get Updates on the Splunk Community!

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

Observability Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestSplunk APM's New Tag Filter ExperienceSplunk APM has updated ...

Security Newsletter Updates | March 2023

 March 2023 | Check out the latest and greatestUnify Your Security Operations with Splunk Mission Control The ...