Installation

Is indexed data kept after upgrading a Splunk server?

05500
New Member

In the past, I knew indexed data was kept after upgrading a Splunk server from this site.
However, I cannot find that information now.
If you know the Splunk documentation link/URL where this is described, please let me know.

Labels (1)
0 Karma

skawasaki_splun
Splunk Employee
Splunk Employee

Assuming your Splunk instance is a single standalone server and you didn't move the default location, then yes your indexed data will be under

$SPLUNK_HOME/var/lib/splunk/<your_index>

after a Splunk upgrade.

Under each index will be db, colddb, datamodel_summary, etc. (and describing those is beyond the scope of this question, but you can learn more about it here: http://docs.splunk.com/Documentation/Splunk/6.2.2/Indexer/HowSplunkstoresindexes ).

05500
New Member

http://docs.splunk.com/Documentation/Splunk/6.2.2/Indexer/HowSplunkstoresindexes

It is written on above site about indexed data after upgrade?
What I want to know is that to guard old indexed data after splunk server upgrade.
For guarantee, I want to know official answer on Splunk site.

0 Karma

skawasaki_splun
Splunk Employee
Splunk Employee

General info: http://docs.splunk.com/Documentation/Splunk/6.2.2/Installation/HowtoupgradeSplunk

Specific info: If you really want to know then open up the installer file (tgz, rpm, etc.) and see exactly which files Splunk will override. You'll see that it doesn't overwrite or delete any of your indexed data at $SPLUNK_HOME/var/lib/splunk/.

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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...