Reporting

Is there any way to get a Splunk version upgrade history report?

ibob0304
Communicator

I have upgraded Splunk enterprise from 6.4 to 6.5 version today.
I looking for a command to check when the last upgrade happened from 6.3 to 6.4 with date and time. I have old logs, but I couldn't find the details, and I am sure the upgrade happened from 6.3 to 6.4 two months back on my system. However, I can't get the version history.

Is there any other way to fetch the past version history?

0 Karma

Masa
Splunk Employee
Splunk Employee

_internal and _audit db retention policy is 30 days by default. So, probably you won't be able to find historical version change information from indexed data.

Otherwise, you can check splunkd.log or web_service.log for version info in general.

  • web_service.log (only if splunkweb is running. Indexers which disabled splunkweb cannot find this type of logs)
    2016-10-12 16:04:28,259 INFO [57fec16e787f6c76b4fb90] root:650 - CONFIG: version_number (str): 6.5.0

  • splunkd.log (it is a build number)
    10-12-2016 16:03:55.172 -0700 INFO loader - Splunkd starting (build 59c8927def0f).

0 Karma

prakash007
Builder

you can use this on your search bar for the versions....

 | rest /services/server/info | table splunk_server version
0 Karma

divyamudundi
Path Finder

It only shows the current version of Splunk installed.

0 Karma

lukejadamec
Super Champion

Is this a windows system?

0 Karma

ibob0304
Communicator

yes it is

0 Karma

lukejadamec
Super Champion

Well then, if you're collecting basic logs on that system then this search might work (it worked for me):

index=main sourcetype="wineventlog:application" | rex field=_raw "(Splunk\sEnterprise\.\sProduct\sVersion:\s)(?<Splunk_Version>\d+\.\d+\.\d+\.\d+)" |dedup Splunk_Version,_time | table Splunk_Version,_time
0 Karma

somesoni2
SplunkTrust
SplunkTrust

You could find a migration log file in the $SPLUNK_HOME/var/log/splunk directory which gets created during the upgrade. The file name will be migration.log.YYYY-mm-dd.HH-MM-SS.

ibob0304
Communicator

Is there any way to get the migration date and time from the search ?

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...