Navigate to https://www.elastic.co/downloads/beats/filebeat-oss and, depending on your operating system, download the .zip/.tar file. The installation of Filebeat is simple and straightforward:
In this book, we will be using the Apache 2.0 version of Beats. Beats version 7.0.x is compatible with Elasticsearch 6.7.x and 7.0.x, and Logstash 6.7.x and 7.0.x. The compatibility matrix can be found at https://www.elastic.co/support/matrix#matrix_compatibility. When you come across Elasticsearch and Logstash examples with Beats in this chapter, make sure that you have compatible versions of Elasticsearch and Logstash installed.