{"id":3128,"date":"2021-05-28T13:59:00","date_gmt":"2021-05-28T11:59:00","guid":{"rendered":"https:\/\/blog.besharp.it\/?p=3128"},"modified":"2023-04-21T10:00:41","modified_gmt":"2023-04-21T08:00:41","slug":"logging-best-practices-on-aws-from-an-elk-to-an-ekk-stack","status":"publish","type":"post","link":"https:\/\/blog.besharp.it\/logging-best-practices-on-aws-from-an-elk-to-an-ekk-stack\/","title":{"rendered":"Logging best practices on AWS: from an ELK to an EKK stack."},"content":{"rendered":"\n

Introduction<\/h2>\n\n\n\n

Nowadays it is increasingly important to be able to monitor and track the status of your applications, as well as being able to easily identify the source of problems. Counting the ever increasing number of digital services, regardless of their size and importance, this need is increasingly felt.<\/p>\n\n\n\n

For some time we are also working with many modern and complex infrastructural patterns, such as microservices and serverless. Effective and centralized tools for monitoring must be found.<\/p>\n\n\n\n

Far be it from me to describe and compare the various logging management programs, a single article would not be enough! We can say, however, that in the AWS world these problems are significantly reduced thanks to the numerous alternatives we have available, together with the advantage of fully managed services!<\/p>\n\n\n\n

In this article we will talk about how to centralize and efficiently manage logs from various applications, remaining entirely on the AWS world! Specifically, we will explore an alternative to the popular log aggregation solution, the ELK stack (Elasticsearch, Logstash, Kibana), or the EKK stack (Amazon Elasticsearch Service, Amazon Kinesis and Kibana).<\/p>\n\n\n\n

The ELK stack<\/h2>\n\n\n\n

Let’s start with a brief description of the ELK stack. For those of you who know it, let’s review together! As in history, also in information technology it is useful to know the past to better understand the present.<\/p>\n\n\n\n

Starting from the diagram below, the ELK stack is composed of the following components:<\/p>\n\n\n\n