Setting up ELK

elasticsearch (elastic licence, with builtin JAVA)

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.0-amd64.deb
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.0-amd64.deb.sha512
shasum -a 512 -c elasticsearch-7.9.0-amd64.deb.sha512

kibana (elastic licence)

wget https://artifacts.elastic.co/downloads/kibana/kibana-7.9.0-amd64.deb
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.9.0-amd64.deb.sha512
shasum -a 512 -c kibana-7.9.0-amd64.deb

logstash (elastic licence, require Java 8)

wget https://artifacts.elastic.co/downloads/logstash/logstash-7.9.0.deb
wget https://artifacts.elastic.co/downloads/logstash/logstash-7.9.0.deb.sha512
shasum -a 512 -c logstash-7.9.0.deb.sha512

elasticsearch (apache2 licence, no Java)

remember to set JAVA_HOME

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.9.0-no-jdk-amd64.deb
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.9.0-no-jdk-amd64.deb.sha512
shasum -a 512 -c elasticsearch-oss-7.9.0-no-jdk-amd64.deb.sha512

kibana (apache2 licence, no Java)

wget https://artifacts.elastic.co/downloads/kibana/kibana-oss-7.9.0-amd64.deb
wget https://artifacts.elastic.co/downloads/kibana/kibana-oss-7.9.0-amd64.deb.sha512
shasum -a 512 -c kibana-oss-7.9.0-amd64.deb.sha512

logstash (apache2 licence, no Java)

wget https://artifacts.elastic.co/downloads/logstash/logstash-oss-7.9.0.deb
wget https://artifacts.elastic.co/downloads/logstash/logstash-oss-7.9.0.deb.sha512
shasum -a 514 -c logstash-oss-7.9.0.deb.sha512

installing elasticsearch

dpkg -i elasticsearch-7.9.0-amd64.deb
sudo systemctl status elasticsearch.service
sudo systemctl start elasticsearch.service

installing kibana

dpkg -i kibana-7.9.0-amd64.deb
sudo systemctl status kibana.service
sudo systemctl start kibana.service

installing logstash

dpkg -i logstash-7.9.0.deb
echo ‘LS_OPTS=”-w 2″‘ >> /etc/defaults/logstash
sudo systemctl status logstash.service
sudo systemctl start logstash.service

Leave a Reply

Your email address will not be published.