Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


Utilities for working with the ELK (Elasticsearch, Logstash, Kibana) stack

Subscribe to updates I use ELK-utils

Statistics on ELK-utils

Number of watchers on Github 59
Number of open issues 0
Main language Ruby
Average time to merge a PR about 10 hours
Open pull requests 3+
Closed pull requests 0+
Last commit over 3 years ago
Repo Created about 5 years ago
Repo Last Updated over 2 years ago
Size 76 KB
Organization / Authoretsy
Page Updated
Do you use ELK-utils? Leave a review!
View ELK-utils activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating ELK-utils for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


Utilities for working with the ELK (Elasticsearch, Logstash, Kibana) stack


This script is for easily adding and removing nodes from a running Elasticsearch cluster by including or excluding the node from every index that exists on the cluster.

It uses exclude._host and include._host to manage which Elasticsearch nodes are available to shards.


Before running this script, add or remove the nodes from your ES cluster settings and mapping templates as needed.

To remove a node from the cluster: ./elkvacuate.rb -a evacuate -h nodetoremove.example.com -u elkmaster.example.com -p 1234

To add a node to the cluster: ./elkvacuate.rb -a invacuate -h nodetoremove.example.com -u elkmaster.example.com -p 1234


This script copies the mapping for a specific type from today's index in Elasticsearch, and puts it into tomorrow's index. The index for tomorrow is created if it doesn't exist.


Run as: copy_index_mapping.py --host <hostname> --index-prefix logstash -t <type>

If you have multiple masters and schedule this script to run on all of them, you can use the -o switch to ensure it only gets executed on the host which is the current cluster master.

There is currently no support for authentication.


This directory contains example roles, cookbooks, and data bags that can be used to provision and maintain an ELK cluster relatively easily. These Chef code samples are for example purposes only; they are provided as-is and no plans are made to maintain or update them.


This directory contains an example script containing commands that can be used with an irc bot such as irccat for monitoring and managing an Elasticsearch cluster. These commands are mostly wrappers around Elasticsearch's API. These code samples are also provided as is for example purposes only, and will not be maintained or updated.

ELK-utils open pull requests (View All Pulls)
  • Errs when invacuating a node
  • Adds total indices to evacuate
  • elk cluster requires the full uri
ELK-utils list of languages used
Other projects in Ruby