Splunk Enterprise

Update from 6.0 to 6.0.1

bowesmana
SplunkTrust
SplunkTrust

I've just noticed that 6.0.1 is released. I have a 6.0 tarball install. Not having done this before, is the normal way to update to 6.0.1 just to untar the new version on top of the old. I am assuming this will not overwrite my config. I have not made any changed to the default branch of any directories.

Naturally I will backup first...

Tags (1)
0 Karma
1 Solution

guilmxm
Influencer

Hi,

That's no big deal, and the answer is NO you won't loose your change:

  • custom config files in "local" dir (eg. system/local...)
  • App installed ans associates files
  • indexes...

But if you have modified system files whitout creating the overwritten version in local dirs, yes these changes will probably be lost.

As for an example, if you have custom limits configuration, don't modify system/defaults/limits.conf but create a new files including your setting in system/local/limits.conf

To upgrade from previous release when you installed through the tarball Archive:

  1. Stop Splunk

  2. Backup your current install using tar

  3. Extract the tar.gz where splunk is installed, only splunk files will be overwritten, you won't loose any thing. (even if backing up is always a good idea)

Let's say you installed by default, splunk is installed in /opt/splunk

In terminal, go at top of splunk dir (cd /opt) and extract files (tar -xvf )

  1. Start Splunk and accept changes

View solution in original post

guilmxm
Influencer

Hi,

That's no big deal, and the answer is NO you won't loose your change:

  • custom config files in "local" dir (eg. system/local...)
  • App installed ans associates files
  • indexes...

But if you have modified system files whitout creating the overwritten version in local dirs, yes these changes will probably be lost.

As for an example, if you have custom limits configuration, don't modify system/defaults/limits.conf but create a new files including your setting in system/local/limits.conf

To upgrade from previous release when you installed through the tarball Archive:

  1. Stop Splunk

  2. Backup your current install using tar

  3. Extract the tar.gz where splunk is installed, only splunk files will be overwritten, you won't loose any thing. (even if backing up is always a good idea)

Let's say you installed by default, splunk is installed in /opt/splunk

In terminal, go at top of splunk dir (cd /opt) and extract files (tar -xvf )

  1. Start Splunk and accept changes

laserval
Communicator

Will splunk-launch.cfg also be overwritten by an update? I suspect so.

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Great answer, thanks guilmxm, just what I was looking for.

0 Karma
Get Updates on the Splunk Community!

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

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...