DevOps

Elasticsearch Data Migration Across Clusters Using Cross-Cluster Replication

Introduction Managing Elasticsearch clusters in environments is a common challenge for organizations that run search and analytics work that is vital to the business. Whether you are moving to infrastructure, setting up disaster recovery or changing operating systems, keeping Elasticsearch data consistent and minimizing downtime are the top priorities. The primary objectives were to: Achieve […]

DevOps

Elasticsearch Has 20,000 Shards: What Actually Happens When You Restart a Node?

Elasticsearch Has 20,000 Shards: What Actually Happens When You Restart a Node? Introduction Restarting an Elasticsearch node sounds simple: That assumption changes when a cluster contains thousands of shards. In one production environment I worked with, the Elasticsearch cluster had approximately 20,000 shards. A node restart could trigger extensive shard recovery, allocation, disk I/O, network […]

MSP

Query Your Logs with AI: Building an MCP Powered ES Log Search System

Introduction If you have ever spent 20 minutes writing a Kibana query just to find one error, this post is for you. I built a small project on a single AWS server where I could just type “show me the last 502 errors” in plain English, and get a real answer pulled straight from Elasticsearch. […]

Shubham Rawat
Shubham Rawat
Read

DevOps

Fixing Unbalanced Shards in Elasticsearch: Why One Node Holds All Your Data

When we run Elasticsearch in production, one of the common issues is imbalance in “shards”. There may be one node in the cluster that is out of disk space, while a few nodes with no shards on them. For example, here is a node with all the shards: Node Shards Disk Used Disk % Free […]

Java/JVM

Migrating MySQL Data to Elasticsearch: A Practical Guide

Introduction Elasticsearch has become a go-to choice for building fast, intelligent search experiences. But what if your source of truth is a relational database like MySQL? In this blog, we’ll walk through how we migrated structured relational data into Elasticsearch using Python — with company_registry as a working example. Why Migrate from MySQL to Elasticsearch? […]

Rajdeep Dabral
Rajdeep Dabral
Read

DevOps

Integrating Elastic APM with a Java Spring Boot App in Docker on Azure

Introduction We recently needed visibility into what our Java services were actually doing in production — response times, slow queries, errors, that sort of thing. We landed on Elastic APM. Here’s exactly how we set it up, including some decisions we made around multi-environment support that saved us a lot of headache later. The setup […]

DevOps

Optimizing Enterprise Search: A Resilient Multi-Node Elasticsearch Cluster with Terraform Explained

Introduction Elasticsearch is a powerful search engine that’s commonly used for log and data analytics. Setting a multi-node cluster enhances the availability, fault tolerance, and performance of Elasticsearch, making it a preferred choice for production environments. In this blog post, I’ll walk you through the steps to create a multi-node Elasticsearch cluster using Terraform ensuring […]

Saurabh Joshi
Saurabh Joshi
Read

DevOps

Elastic APM: A Key to Unlocking Business Growth and Customer Loyalty

Introduction In today’s competitive market, delivering a seamless and responsive user experience is crucial for retaining customers and driving business growth. Elastic APM (Application Performance Monitoring) has emerged as a vital tool for achieving these objectives. By providing deep insights into application performance and pinpointing bottlenecks, Elastic APM empowers businesses to optimize their applications, enhance […]

Pankaj
Pankaj
Read

AWSDevOpsTechnology

Elasticsearch Plugins for Monitoring and Management of Cluster Nodes

Elasticsearch offers highly useful plugin mechanism as a standard way for extending its core functionality such as custom analyzer, native scripts and more. While some plugins may contain static content which is served through its HTTP server, some others offer a graphical front-end for selected parts of the Elasticsearch REST API such as monitoring, managing cluster and […]

Neha Dixit
Neha Dixit
Read