Archives for Elasticsearch
VictoriaLogs: A Cheaper Alternative to ELK Stack
If you've ever managed an ELK stack in production, you know the drill. It starts innocently — a few services, a couple of Logstash pipelines, and Kibana looking clean. Then six months later, your Elasticsearch cluster is eating 64 GB of RAM, your ops team is paged at 2 AM…
Install Elasticsearch on Centos 7
Steps to Install Elasticsearch on centos 7 Prerequisites: Install OpenJDK 8 version sudo yum install Validate the installation java -version If you are installing jdk manually from tar file then make sure if you have configure the JAVA_HOME path correctly. Install Elasticsearch Latest version using Yum. Import the Elasticsearch GPG…
Install Elasticsearch 5.0 on RHEL / CentOS
Install Elasticsearch on RHEL / CentOS This article will cover install Elasticsearch version on CentOS and RHEL distribution. Also guideline to change to Default Cluster and Index settings in Elasticsearch So Let's start with prerequisites Prerequisites: As per the recommendation Elasticsearch need or later and only Oracle’s Java and the…
Install Elasticsearch 2.x on CentOS 6
Install Elasticsearch on CentOS 6 This article will cover install Elasticsearch version on CentOS 6. Also guideline to change to Default Cluster and Index settings in Elasticsearch So Let's start with prerequisites Prerequisites: Elasticsearch needed at least Java 7. Install Elasticsearch On CentOS 6 using Elasticsearch Repository Install Public Signing…
How to change slow log settings in Elasticsearch
What are the slow log settings in Elasticsearch? Elasticsearch provide facility to keep track of your slow queries while indexing and searching data. It helps us to identify the slow elasticsearch query. You can configure slow log threshold according to your requirement. Its just depends on your architecture. Sometimes 2s…
Partial Update in Elasticsearch
Partial Update in Elasticsearch Partial update in elasticsearch works same as updating whole document in Elasticsearch. This process retrieve the document, change it and reindex it again. In elasticsearch partial update is done through Update API. Update API also support scripting language to update a document. We can write our…
Updating Document in Elasticsearch
Documents in Elasticsearch are always immutable we cannot replace or change them directly. If we require updating document in Elasticsearch then we need to reindex or replace it. We can change an existing document by using Index API as well. Elasticsearch delete the old document automatically and add a new…
How to Increase or Decrease Replica in Elasticsearch
How to increase or decrease replica in Elasticsearch You can change number of replicas in live Elasticsearch Cluster using Indices APIs update indices settings. Update number of replicas for all indices: curl -XPUT 'localhost:9200/_settings' -d ' { "index" : { "number_of_replicas" : 2 } }' Update number of replicas for…
Add New Node in Elasticsearch Cluster
How to add new node in elasticsearch cluster? Here is step by step guideline to add new node in existing elasticsearch cluster. 1) Elasticsearch Installation: Install elasticsearch in new node. Elasticsearch version should be same as existing cluster nodes. If you are not aware then you may refer my these…
CircuitBreaking Exception: Data Too Large for field parent/child id cache
You might get this problem with fielddata size limit. fielddata size limit is checked after the query data is loaded. When your elasticsearch query tried to load data more than the fielddata available memory then you would get the OutOfMemoryException. Caused by: : Data too large, data for field would…





