PART 1 : ELK Stack Setup

Ajesh Kalayil
2 min readApr 25, 2022

--

Install Elasticsearch, Kibana, and Logstash as docker containers.

Image courtesy — itzgeek.com

Agenda

  • ELK stack introduction.
  • ELK stack setup using docker.
  • Test ELK stack installation setup.

Introduction

  • ELK is an acronym for three open-source projects, such as Elasticsearch, Logstash, and Kibana.
  • Elasticsearch is a search and analytics engine based on Apache Lucene.
  • Logstash is a server‑side data processing pipeline that ingests data from multiple sources and sends it to Elasticsearch.
  • Kibana lets users visualize data with charts and graphs and provides dev tools to query the data in Elasticsearch.

Installation

Here we are using docker for setting up the ELK stack environment.

Install Elasticsearch, Kibana, and Logstash using the below compose file.

Don’t have docker installation, no issues

Once you run docker-compose up you can see Elasticsearch, Kibana, and Logstash containers are up and running.

Test the installations

  • Elasticsearch: open http://localhost:9200 on any browser you can see the below response.
Elasticsearch build information.
  • Kibana: open http://localhost:5601 on any browser you can see the below page.
  • Logstash: open http://localhost:9600 on any browser you can see the below response.

Summary

  • ELK stack provides open-source tools for data ingestion, enrichment, storage, analysis, and visualization.

About me

I’m a software engineer with more than two years of experience.

I’m passionate about technologies and always stay on top of trends to connect with readers. You can reach me on Twitter and LinkedIn.

To know more about me, please visit here.

Please follow me to get the latest content from me.

--

--