ELK Stack Architecture and How Does It Works

KATHISH KUMARAN R
YavarTechWorks
Published in
2 min readOct 29, 2022

Hi friends, In this Blog we are going to learn about Elk stack architecture and how does it works.

  • ELK Stack is the leading open-source IT log management solution for companies who want the benefits of a centralized logging solution without the enterprise software price.
  • ELK is one of the most widely used stacks for processing log files and storing them as JSON documents. It is extremely configurable, versable, and scalable. It can be simple to use or complex, as it supports both simple and advanced operations.

ELK Stack Architecture

Here is the simple architecture of ELK stack

  • Logs: Server logs that need to be analyzed are identified
  • Logstash: Collect logs and events data. It even parses and transforms data
  • ElasticSearch: The transformed data from Logstash is Store, Search, and indexed.
  • Kibana: Kibana uses Elasticsearch DB to Explore, Visualize, and Share

However, one more component is needed or Data collection called Beats. This led Elastic to rename ELK as the Elastic Stack.

While dealing with very large amounts of data, you may need Kafka, RabbitMQ for buffering and resilience. For security, nginx can be used.

How Does it Work?
Logstash has over 160 connector and transform tools to get logs from inconsistent and strange formats, and over different protocols, over the network or wherever they reside and originate over your network. Once this is done, Logstash gets these logs into a system: Elasticsearch. Elasticsearch allows you to perform real time search and analysis of your data. Kibana then provides a visualization and exploration system on top of Logstash and Elasticsearch so you can easily understand your data in terms of charts and graphs.

Conclusion

In this Blog, we have learned about ELK stack architecture and how does its works. Hope to see you all in my next blog post, Until then Take Care! Keep Learning!

Thank You For Reading this Blog………

Have a Nice Day……

👋👋👋

--

--