Skip to content

Latest commit

 

History

History
75 lines (54 loc) · 1.7 KB

elk_installation.md

File metadata and controls

75 lines (54 loc) · 1.7 KB

For elasticsearch version 7.17

Installing the ELK stack:

Install Java. In this tutorial, we use the OpenJDK package.

apt install -y openjdk-8-jdk

Install the Elastic GPG Key to validate the packages.

wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -

Install HTTPS transport to download the packages over a secure connection.

apt install -y apt-transport-https

Add the Elastic repository to the APT configuration.

echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list

Install Kibana:

apt install -y kibana

Install Filebeat:

apt install -y filebeat

Only for proxy-pass if you use

Install nginx as a proxy to Kibana:

apt install -y nginx

Install metricbeat:

apt install -y metricbeat

Install packetbeat:

apt install -y packetbeat

Install heartbeat:

apt install -y heartbeat

Install auditbeat:

apt install -y auditbeat

Tip

If you dont want to go through all this installation stuff then just run the dwn_elk.sh it will automatically install all the stuff!!

--------------------: REFERENCE LINKS : -----------------

[how-to-gather-infrastructure-metrics-with-metricbeat](https://www.digitalocean.com/community/tutorials/ how-to-gather-infrastructure-metrics-with-metricbeat-on-ubuntu-18-04)

collecting-visualizing-logs-elastic-stack

install-ELK-stack