As explained in Chapter 8, Integration of Storm and Kafka, Kafka is a distributed messaging queue and can integrate very well with Storm. In this section, we will show you how we can use Logstash to read the Apache log file and publish it into the Kafka Cluster. We are assuming you already have the Kafka Cluster running. The installation steps of the Kafka Cluster are outlined in Chapter 8, Integration of Storm and Kafka.
Producing Apache log in Kafka using Logstash
Installation of Logstash
Before moving on to the installation of Logstash, we are going to answer the questions: What is Logstash? Why are we using Logstash?