GitHub's ops focused Elasticsearch library
⚠️ This repository is deprecated and no longer maintained.
As of March 2025, the vulcanizer project has been officially deprecated. This means:
If you are currently using this repository, we recommend forking it if you wish to continue development on your own.
GitHub's ops focused Elasticsearch library
This project is a golang library for interacting with an Elasticsearch cluster. It's goal is to provide a high level API to help with common tasks that are associated with operating an Elasticsearch cluster such as querying health status of the cluster, migrating data off of nodes, updating cluster settings, etc.
This project does not aim to be a fully-featured API client for querying or indexing to Elasticsearch.
You can perform custom operations in your Go application.
import "github.com/github/vulcanizer"
v = vulcanizer.NewClient("localhost", 9200)
oldSetting, newSetting, err := v.SetSetting("indices.recovery.max_bytes_per_sec", "1000mb")This project produces a vulcanizer binary that is a command line application that can be used to manage your Elasticsearch cluster.
…All commands take --cluster to look up information in a configuration file in ~/.vulcanizer.yaml. The configuration should be in the form of
local:
host: localhost
port: 9200
staging:
host: 10.10.2.1
port: 9201
production:
host: 10.10.1.1
port: 9202Alternatively, all commands take --host and --port for the connection information.
For example:
# Query for cluster health on the "local" cluster
vulcanizer health --cluster local
# Query for nodes against the node 10.10.2.1 and port 9202
vulcanizer nodes --host 10.10.2.1 --port 9202./script/build will compile the project and install the vulcanizer binary to $GOPATH/bin.
./script/test will run the tests in the project.
Integration tests are set up to run against the latest v5 and v6 versions of Elasticsearch.
Vulcanization is the process of making rubber more elastic, so vulcanizer is the library that makes Elasticsearch easier to work with!
This project is no longer actively maintained.
This repository is open to contributions. Please also see code of conduct
To get up and running, install the project into your $GOPATH and run the set up scripts.
go get github.com/github/vulcanizer
cd $GOPATH/src/github.com/github/vulcanizer
./script/bootstrap
./script/testAnd the test suite should execute correctly.
This project is released under the MIT LICENSE. Please note it includes 3rd party dependencies release under their own licenses; dependencies are listed in our go.mod file. When using the GitHub logos, be sure to follow the GitHub logo guidelines.
Authored by GitHub Engineering
No open issues yet, or sync has not completed.