

One CentOS 7 server set up by following Initial Server Setup with CentOS 7, including a non-root user with sudo privileges and a firewall. To complete this tutorial, you will need the following:

This tutorial uses the latest versions of each component, which are, at the time of this writing, Elasticsearch 6.5.2, Kibana 6.5.2, Logstash 6.5.2, and Filebeat 6.5.2. Note: When installing the Elastic Stack, you should use the same version across the entire stack. At the end of this tutorial, you will have all of these components installed on a single server, referred to as the Elastic Stack server. Additionally, because Kibana is normally only available on the localhost, you will use Nginx to proxy it so it will be accessible over a web browser. You will learn how to install all of the components of the Elastic Stack - including Filebeat, a Beat used for forwarding and centralizing logs and files - and configure them to gather and visualize system logs. In this tutorial, you will install the Elastic Stack on a CentOS 7 server.

Centralized logging can be very useful when attempting to identify problems with your servers or applications, as it allows you to search through all of your logs in a single place. The Elastic Stack - formerly known as the ELK Stack - is a collection of open-source software produced by Elastic which allows you to search, analyze, and visualize logs generated from any source in any format, a practice known as centralized logging. The author selected Software in the Public Interest to receive a donation as part of the Write for DOnations program.
