c. Installing and configuring Logstash

Logstash requires Java

Installing Java

$ java -version

Command 'java' not found, but can be installed with:

apt install default-jre
apt install openjdk-11-jre-headless
apt install openjdk-8-jre-headless
apt install openjdk-9-jre-headless
$ apt install openjdk-11-jre-headless

Download and Install Debian package manually

$ wget https://artifacts.elastic.co/downloads/logstash/logstash-7.8.0.deb
$ sudo dpkg -i logstash-7.8.0-amd64.deb

We will add further configurations once we install Opendistro for Elasticsearch plugin for security.

Last updated