Install Logstash

Similar to Elasticsearch, you can download the Logstash archive from https://www.elastic.co/downloads/logstash. It is also available for all platforms. As we are using a Windows machine, let's download the ZIP archive for the Windows machine and unzip it. You can run the Logstash service on your machine by using the following command on the CLI:

bin/logstash -f logstash.conf

Here logstash.conf is the configuration file we will see in the example.

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.