To install Logstash, we can use the Logstash Docker image:
docker pull docker.elastic.co/logstash/logstash:5.5.1
We can also install Logstash by performing the following steps:
- Download the latest Logstash distribution from https://www.elastic.co/downloads/logstash.
- Unzip it to the desired location on your system.
- Prepare a configuration file, as shown here. It instructs Logstash to read input from the given files and pass it to Elasticsearch (see the following config file; Elasticsearch is represented by localhost and the 9200 port). It is the simplest configuration file. To add filters and learn more about Logstash, you can explore the Logstash reference documentation, which is available at https://www.elastic.co/guide/en/logstash/current/index.html ...