Installing Logstash
editInstalling Logstash
editInstalling from a Downloaded Binary
editThe Logstash binaries are available from https://www.elastic.co/downloads. Download the Logstash installation file for your host environment—TAR.GZ, DEB, ZIP, or RPM.
Unpack the file. Do not install Logstash into a directory path that contains colon (:) characters.
These packages are free to use under the Elastic license. They contain open source and free commercial features and access to paid commercial features. Start a 30-day trial to try out all of the paid commercial features. See the Subscriptions page for information about Elastic license levels.
Alternatively, you can download an oss
package, which contains only features
that are available under the Apache 2.0 license.
On supported Linux operating systems, you can use a package manager to install Logstash.
Installing from Package Repositories
editWe also have repositories available for APT and YUM based distributions. Note that we only provide binary packages, but no source packages, as the packages are created as part of the Logstash build.
We have split the Logstash package repositories by version into separate urls to avoid accidental upgrades across major versions. For all 8.x.y releases use 8.x as version number.
We use the PGP key D88E42B4, Elastic’s Signing Key, with fingerprint
4609 5ACC 8548 582C 1A26 99A9 D27D 666C D88E 42B4
to sign all our packages. It is available from https://pgp.mit.edu.
When installing from a package repository (or from the DEB or RPM installation file), you will need to run Logstash as a service. Please refer to Running Logstash as a Service for more information.
For testing purposes, you may still run Logstash from the command line, but you may need to define the default setting options (described in Logstash Directory Layout) manually. Please refer to Running Logstash from the Command Line for more information.
APT
editVersion 8.17.0 of Logstash has not yet been released.
YUM
editVersion 8.17.0 of Logstash has not yet been released.
Docker
editImages are available for running Logstash as a Docker container. They are available from the Elastic Docker registry.
See Running Logstash on Docker for details on how to configure and run Logstash Docker containers.