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.