Getting Data In

Upgrade Splunk All-in-one - Loss of logs on Universal Forwarder

Silek
Explorer

Hello everyone,

I am planning to upgrade my all-in-one Splunk which is on version 7.2.4 to 8.1.

According to the documentation about the upgrade, I am able to perform this upgrade.

However, I have a little question:

Actually I am using a deployment-server and I am collecting logs from universal forwarders only. According to the documentation, I do not have to stop my indexer during the upgrade. In this case, I will not lose any logs during the upgrade.
If we are following the documentation, upgrade sounds very easy but we never know what can happen during the upgrade.

My All-in-one Splunk is installed on a virtualized machine and I will perform a snapshot. I will rollback if any problem happens during the upgrade.
During the upgrade my UFs will keep sending logs to my indexer but if I rollback, every log that my UFs sent to my indexer will be lost.

What can I do to prevent this loss of logs?

 

Thank you for your replies.

Labels (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @Silek,

if you're receiving logs only from Universal Forwarders you haven't any risk to lose any log because Universal Forwarders cache logs when the Indexer isn't active and then send him logs when it will restart.

Anyway, you haven't to restart your Splunk Server but, obviously, you have to restart Splunk during upgrade.

About the idea to perform a snapshot, it's a good idea.

Splunk upgrade it's very easy and it doesn't require much time for Splunk itself, but it could require some time if you have to upgrade many apps; did you performed the Splunk Upgrade Readiness App (https://splunkbase.splunk.com/app/4698/)?

After this you can know how much time you need for upgrade.

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @Silek,

if you're receiving logs only from Universal Forwarders you haven't any risk to lose any log because Universal Forwarders cache logs when the Indexer isn't active and then send him logs when it will restart.

Anyway, you haven't to restart your Splunk Server but, obviously, you have to restart Splunk during upgrade.

About the idea to perform a snapshot, it's a good idea.

Splunk upgrade it's very easy and it doesn't require much time for Splunk itself, but it could require some time if you have to upgrade many apps; did you performed the Splunk Upgrade Readiness App (https://splunkbase.splunk.com/app/4698/)?

After this you can know how much time you need for upgrade.

Ciao.

Giuseppe

Silek
Explorer

Thank you for your reply @gcusello ,

 

Indeed, stoping the indexer is a good idea.

Yes, I performed the Splunk Upgrade readiness app and according to the result, I do not have any blocking apps, only warnings. I will spend some time to upgrade all my apps but it is not blocking for the upgrade itself.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Silek,

As I said, you don't need to restart the Indexer server but only to restart Splunk during upgrade, anyway you don't lose any data from Forwarders.

Good for you.

Ciao and happy splunking.

Giuseppe

P.S.: Karma Points are appreciated by all the contributors 😉

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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...