Deployment Architecture

Urgently move Splunk data from AWS to local today

m0scuni0n
New Member

Hello!

This is my situation. I have my main Splunk server on EC2 AWS and I'm trying to move it to a local machine. I cannot lose any data and I only have a couple of days to do it.

I've installed Splunk on my local environment and following this guides [1] and [2], I already copied the data on $splunk_home/etc/apps and $splunk_home/etc/users to the local splunk instalation. So when I open it on the webbrowser, I do see my app, but empty. I know this means that I didn't copy the databases.

But, which DB's or files do I need to copy from Splunk in AWS in order to see my entire data on local with working searches, indexes and all that stuff? I'm not finding any way to do it.

Thanks in advance!

[1] http://answers.splunk.com/answers/138710/splunk-migration-to-another-server.html
[2] http://wiki.splunk.com/Deploy:Migrating_a_Splunk_Install

0 Karma

Splunker
Communicator

For indexes you'd want $SPLUNK_HOME/var/lib/splunk and all it's sub-directories.

For configs (including the definitions of indexes, apps, includes all user definitions, etc etc..) you'd want $SPLUNK_HOME/etc

Where $SPLUNK_HOME is usually /opt/splunk, but not always. Make sure Splunk is stopped when copying or moving it's files!

At a high-level thats how you'd transfer a Splunk installation, minus the binaries, with a lot of detail glossed over in the interest of brevity.

Hope it helps 🙂

Cheers.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...