August 2017
Intermediate to advanced
278 pages
8h 53m
English
With Elasticsearch set up, we can now install and configure Logstash. As Logstash will be performing the log collection role, it needs to be installed on the same server as NGINX. For larger installations, you could use Filebeat (also part of the Elastic family) to act as a lightweight log forwarder and have Logstash on its own instance to parse the logs.
Like Elasticsearch, we need Java 8 or higher to run Logstash. As this demo recipe is also using Ubuntu 16.04, we can install it via the following:
apt install openjdk-8-jre
Next, we download the latest copy of Logstash and install it:
wget https://download.elastic.co/logstash/logstash/packages/debian/logstash-5.0.0-alpha4.deb dpkg -i logstash-5.0.0-alpha4.deb
Once the installation ...
Read now
Unlock full access