Upgrading using a direct download
editUpgrading using a direct download
editThis procedure downloads the relevant Logstash binaries directly from Elastic.
- Shut down your Logstash pipeline, including any inputs that send events to Logstash.
- Download the Logstash installation file that matches your host environment.
-
Backup your
config/
anddata/
folders in a temporary space. - Delete your Logstash directory.
- Unpack the installation file into the folder that contained the Logstash directory that you just deleted.
-
Restore the
config/
anddata/
folders that were previously saved, overwriting the folders created during the unpack operation. -
Test your configuration file with the
logstash --config.test_and_exit -f <configuration-file>
command. Configuration options for some Logstash plugins have changed. - Restart your Logstash pipeline after updating your configuration file.