c. Installing and configuring Logstash
Logstash requires Java

Installing Java

1
$ java -version
2
​
3
Command 'java' not found, but can be installed with:
4
​
5
apt install default-jre
6
apt install openjdk-11-jre-headless
7
apt install openjdk-8-jre-headless
8
apt install openjdk-9-jre-headless
Copied!
1
$ apt install openjdk-11-jre-headless
Copied!

Download and Install Debian package manually

1
$ wget https://artifacts.elastic.co/downloads/logstash/logstash-7.8.0.deb
2
$ sudo dpkg -i logstash-7.8.0-amd64.deb
Copied!
We will add further configurations once we install Opendistro for Elasticsearch plugin for security.
Last modified 11mo ago