Upgrade the Windows universal forwarder
When you upgrade a universal forwarder, the installer updates the software without changing its configuration. You must make any necessary configuration changes after you complete the upgrade. A deployment server can assist in the configuration update process.
There are several forwarder upgrade scenarios:
- You can upgrade a single forwarder with the GUI installer
- You can upgrade a single forwarder with the command line installer
- You can perform a remote upgrade of a group of forwarders (good for deployments of any size)
As best practice when upgrading a Windows universal forwarder on Splunk Cloud Platform, run the most recent forwarder version, even if the forwarder is a higher version number than your Splunk Cloud Platform environment.
Prerequisites to upgrading a universal forwarder
Confirm that you understand or have all of the following prior to upgrading a forwarder.
Confirm that an upgrade is necessary
Begin by checking the forwarder compatibility. To determine if you need to upgrade your forwarder version to remain in support or use specific features, see the appropriate topic for your deployment:
- Splunk Cloud Platform: Supported forwarder versions in the Splunk Cloud Platform Service Description.
- Splunk Enterprise: Compatibility between forwarders and Splunk Enterprise indexers.
If your forwarders are on the same major release of Splunk software as the indexers, they are compatible. However, you might need an upgrade to a different minor release due to a technical issue in a specific feature. Before upgrading forwarders, review the Known Issues and Fixed Issues.
You must perform any platform architecture changes manually
You cannot upgrade a 32-bit version of the universal forwarder with a 64-bit universal forwarder installer. To upgrade from 32-bit to 64-bit, follow these instructions:
- Back up your configurations, including any apps or add-ons (in
%SPLUNK_HOME%\etc\apps
). Also back up the checkpoint files located in%SPLUNK_HOME%\var\lib\splunk\modinputs
. - Uninstall the existing 32-bit forwarder, as described in Uninstall the universal forwarder.
- Install the 64-bit forwarder, as described in Install the universal forwarder from an installer.
- Restore apps, configurations and checkpoints by copying them to the appropriate directories:
%SPLUNK_HOME%\etc\system\local
for configuration files.%SPLUNK_HOME%\etc\apps
for apps and add-ons.%SPLUNK_HOME%\var\lib\splunk\modinputs
for checkpoint files.
Back your files up
Before you perform an upgrade, back up configuration files. See Back up configuration information in the Splunk Enterprise Admin manual.
There is no means of downgrading to a previous version. If you need to revert to an older forwarder release, uninstall the current version and reinstall the older release.
Upgrade a single forwarder using the GUI installer
You can upgrade a single forwarder with the GUI installer. The installer stops the forwarder as part of the upgrade process.
- Download the new MSI file from the universal forwarder download page.
- Double-click the MSI file. The installer displays the "Accept license agreement" panel.
- Accept the license agreement and click "Install." The installer upgrades the forwarder, retains the existing configuration, and starts automatically when you complete the installation.
The installer puts a log of upgrade changes in the %TEMP%
directory (This is usually the C:\TEMP
directory but can be different based on your Windows machine configuration.) It also reports any errors in the Application Event Log.
Upgrade a single forwarder using the command line
You can upgrade a single forwarder by running the command line installer. To upgrade a group of forwarders, load the command line installer into a deployment tool such as Group Policy or System Center Configuration Manager, as described in Perform a remote upgrade.
You cannot make configuration changes during an upgrade. The installer ignores any command line flags that you specify except for the AGREETOLICENSE
flag.
- Download the new MSI file from the Splunk universal forwarder download page.
- Run
msiexec.exe
to Install the universal forwarder from the command line.
- For 32-bit platforms, use
splunkuniversalforwarder-<...>-x86-release.msi
.
msiexec.exe /i splunkuniversalforwarder-<...>-x86-release.msi [AGREETOLICENSE=Yes /quiet]
- For 64-bit platforms, use
splunkuniversalforwarder-<...>-x64-release.msi
.
msiexec.exe /i splunkuniversalforwarder-<...>-x64-release.msi [AGREETOLICENSE=Yes /quiet]
The value of
<...>
varies according to the particular release, for example,splunkuniversalforwarder-6.3.0-aa7d4b1ccb80-x64-release.msi
. - For 32-bit platforms, use
- Wait for the upgrade to complete. The forwarder starts automatically when you complete the installation.
The installer puts a log of upgrade changes in the %TEMP%
directory. It also reports any errors in the Application Event Log.
Perform a remote upgrade of one or more forwarders
You can use a deployment tool such as Group Policy or System Center Configuration Manager to distribute the forwarder software among a group of forwarders in your environment. You might want to test the upgrade locally on one machine before performing a remote upgrade across all your forwarders.
See Upgrade using the command line, for details on the command line syntax to use in the deployment tool.
The Splunk Enterprise deployment server cannot distribute the universal forwarder, only its apps and configurations. Do not attempt to use deployment server to distribute universal forwarders.
- Download the new MSI file from the Splunk universal forwarder download page.
- Load the MSI into your deployment tool. In the tool, specify the command line as follows.
msiexec.exe /i splunkuniversalforwarder-<...>.msi AGREETOLICENSE=Yes /quiet
- Start the deployment with your deployment tool.
- Use the deployment monitor to verify that the universal forwarders function properly.
Supported CLI commands | Upgrade the *nix universal forwarder |
This documentation applies to the following versions of Splunk® Universal Forwarder: 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.6, 7.1.7, 7.1.8, 7.1.9, 7.1.10, 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 7.2.10, 7.3.0, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.3.9, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.0.7, 8.0.8, 8.0.9, 8.0.10, 8.1.0, 8.1.1, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.1.10, 8.1.11, 8.1.12, 8.1.13, 8.1.14, 8.2.0, 8.2.1, 8.2.2, 8.2.3
Feedback submitted, thanks!