You can install the open source version of Logstash (OSS) or the paid version (Elastic). The supported version is Logstash 7.6.2.
Information on released versions of Logstash is available at Logstash Reference.
Do the following steps to Install the Logstash.
- Install the service: Installing Logstash
After installation, set Logstash to run as a service: Running Logstash
- Enable Logstash to start when the system boots up: https://www.unix.com/man-page/centos/1/systemctl/
If you are using CentOS, make a note of the following:
- Logstash logs are stored in /var/log/logstash/logstash-plain.log
- If you install Logstash using rpm install, make sure it installs as logstash user and folders get created with the same user and not the root user.
For Generic Troubleshooting Instructions for Logstash, see Logstash Troubleshooting.