Author Archives: Roopendra - Page 9
Install Logstash in RHEL / CentOS
What is Logstash? Logstash is a data collection engine with real-time pipelining capabilities. You can use Logstash to collect your logs, parse them into your desirable format and store them for searching or monitoring for your application. Logstash latest version has more capabilities other than manage event and logs. Logstash…
How to create empty file in ansible playbook
Create empty file in ansible Ansible Task to Create new file on remote machine, Validate and Copy Content on Remote Machine In this article I have covered create a new file on remote machine from ansible playbook, Write contend on new file from ansible , Copy file on remote machine using ansible…
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 install Logstash in Linux
Install Logstash in Linux In this article I will cover installation of the Logstash in Linux and basic configuration apart from it I will cover validation of Logstash configuration. How Can we start and stop Logstash and verifying that everything is running properly Let's start with What is Logstash? What…
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…
HTML Tags which should not be closed in HTML5
In HTML5 Void element doesn't require closing tags. What are the Void Elements? A Void element is an element that can not allow to have any content in between the start and closing tags. Void elements only have a start tag; end tags must not be specified for void elements.…
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…





