Name: elasticsearch-toolbox
Owner: Clever
Description: Maintenance tooling for Elasticsearch
Created: 2016-04-06 21:12:27.0
Updated: 2016-11-08 07:13:52.0
Pushed: 2018-01-06 00:33:13.0
Homepage: null
Size: 73
Language: TypeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A collection of tools for maintaining an Elasticsearch cluster. Most tools are wrapped up into a small web server with a UI. These tools are are generally written with log searching as the primary use case.
The following endpoints return status on the Elasticsearch Cluster being managed:
Alias management is configured in config.yml with the following section:
ces:
efix: # Only indices with the prefix here will be considered when pruning
ys: # Number of days worth of indices to keep
earAt: # cron schedule of when to prune old indices
You can manually trigger this operation by making a GET request to /indices/clear
Alias management is configured in config.yml with the following section:
ces:
iases: # Contains a map of alias names to the number of indices to include in them:
<alias_name>: <number of indices to include>
updateAt: # cron schedule of when to update the aliases
You can manually trigger this operation by making a GET request to /aliases/update
Replica management is configured in config.yml with the following section:
ces:
plicas:
days: # number of days worth of indices to retain replicas for
value: # new replica count to set of indices older than `days`
updateAt: # cron schedule of when to update replica counts
You can manually trigger this operation by making a GET request to /replicas/update
Before running locally, you need to set the following environment variables:
install
run dev-server