Table of Contents
Step 1: Download and Install Elastic search
Step 2: Elastic Search Configuration
You got big data, millions of record to handle and the load is so huge that RDBMS can not handle it… Then ELK is the way to go.
I am not going to discuss what is ELK or why you should use it. But I will give you the procedure you can follow and get the ELK setup up and running in least possible time.
So let’s start with installing Elastic Search
Step 1: Download and Install Elastic search
https://www.elastic.co/downloads/elasticsearch
Right click on the DEB link and copy link URL.
Execute the following command to download and install latest version of elastic search
wget
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.0.deb
sudo dpkg -i elasticsearch-5.5.0.deb
sudo service elasticsearch start
Step 2: Elastic Search Configuration
go to /etc/elasticsearch and open elasticsearch.yml
find host, un-comment the line and change its value to ‘localhost’
remove the # from port, now save the file and restart elasticsearch service.
Step 3: Download and Install Kibana
Right click on the DEB link and copy link URL.
Execute the following command to download and install latest version of kibana
wget
https://artifacts.elastic.co/downloads/kibana/kibana-5.5.0-amd64.deb
sudo dpkg -i kibana-5.5.0-amd64.deb
sudo service kibana start
Step 4: Kibana Configuration
go to /etc/kibana and open kibana.yml file
remove # from the line server.port, server.host and elasticsearch.url
Step 5: Download and Install logstash
https://www.elastic.co/downloads/logstash
Right click on the DEB link and copy link URL.
Execute the following command to download and install latest version of logstash
wget https://artifacts.elastic.co/downloads/logstash/logstash-5.5.0.deb
sudo dpkg -i logstash-5.5.0.deb
sudo service logstash start
I hope the steps have got your ELK environment setup in the machine. We love to share at Third Rock Techkno what we learn with our community.
Happy coding !!!
· · · ·Third Rock Techkno is a leading IT services company. We are a top-ranked web, voice and mobile app development company with over 10 years of experience. Client success forms the core of our value system.
We have expertise in the latest technologies including angular, react native, iOs, Android and more. Third Rock Techkno has developed smart, scalable and innovative solutions for clients across a host of industries.
Our team of dedicated developers combine their knowledge and skills to develop and deliver web and mobile apps that boost business and increase output for our clients.