Upgrading Using a Direct Downloadedit

This procedure downloads the relevant Logstash binaries directly from Elastic.

  1. Shut down your Logstash pipeline, including any inputs that send events to Logstash.
  2. Download the Logstash installation file that matches your host environment.
  3. Unpack the installation file into your Logstash directory.
  4. Test your configuration file with the logstash --config.test_and_exit -f <configuration-file> command. Configuration options for some Logstash plugins have changed in the 5.x release.
  5. Restart your Logstash pipeline after updating your configuration file.