Start a single node elastic cluster with Docker Compose

Introduction In this gist, we will quickly try to spin Elastic stacks with Docker containers. We are going to use docker-compose. You can learn more about Docker & Docker Compose, Which will help you to understand the flow. Prerequisite Tested on the below configuration. docker:Docker version 20.10.16, build aa7e414 docker-compose:Docker version 20.10.16, build aa7e414 Cluster This cluster will include Elasticsearch Kibana APM .env file Make directory mkdir docker-elastic cd docker-elastic Create ....

June 8, 2022 · 3 min · Ashish Tiwari
go ship logs to ELK flow

Shipping Golang logs with ELKB stack

Goal of this blog In this blog, I am going to show you how easily we can write logs to the files in Golang. As well as we are going to store all logs on elasticsearch with EKB (Elasticsearch, Kibana, Beats). Why ELKB stack ? Logs are very important for debugging, reporting, insights etc. In today’s tech world, We uses multiple cloud servers, private servers etc. Which consist of lots of different applications, scripts, programs, daemons, services and they generate their logs too....

June 6, 2020 · 6 min · Ashish Tiwari