Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

ELK-utils

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 2 years ago
Repo Created about 4 years ago
Repo Last Updated over 1 year ago
Size 76 KB
Organization / Authoretsy
Contributors2
Page Updated
Do you use ELK-utils? Leave a review!
View ELK-utils activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating ELK-utils for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

ELK-utils

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

elkvacuate.rb

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.

Usage:

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

copy_index_mapping.py

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.

Usage:

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.

Chef

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.

irccat

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