dev-develop
dev-developA simple tool for managing simple Elasticsearch instances.
MIT
dev-master
9999999-devA simple tool for managing simple Elasticsearch instances.
MIT
2.2.1
2.2.1.0A simple tool for managing simple Elasticsearch instances.
MIT
Wallogit.com
2017 © Pedro Peláez
A simple tool for managing simple Elasticsearch instances.
A simple tool for managing simple Elasticsearch instances. The tool looks for a file named .esconfig.json and uses the definitions in that to create indexes and their mappings. It is also capable of running a warmup script to populate these indexes if needed., (*1)
Install manually by cloning and ensuring the dist/esconfig.phar binary is in your $PATH; or use Homebrew:, (*2)
brew tap hellopablo/utilities brew install hellopablo/utilities/esconfig
helpRenders a help view, (*3)
nukeCompletely erases the cluster, good for starting over. Use with caution, obviously., (*4)
resetDeletes the indexes described in .esconfig.json and recreates them and their mappings, but with no data, (*5)
warmCalls the warmup command described in .esconfig.json., (*6)
You can define which environment is being used using any of the following methods (in order of specifity):, (*7)
esconfig warm production
esconfig.environment which contains the environment to usedefault_environment property of .esconfig.json
DEVELOPMENT
.esconfig.json file{
"host": "localhost:9200",
"warm": "php ./warm_es.php",
"host": {
"DEVELOPMENT": "192.168.99.100:32769",
"PRODUCTION": "localhost:9200",
"STAGING": "localhost:9200"
},
"warm": {
"DEVELOPMENT": "php ./warm_es.php {{__HOST__}}",
"PRODUCTION": "php ./warm_es.php {{__HOST__}}",
"STAGING": "php ./warm_es.php {{__HOST__}}"
}
"default_environment": "DEVELOPMENT",
"indexes": [
{
"name": "my-index",
"settings": {},
"mappings": {
"my-item": {
"properties": {
"location": {
"type": "geo_point"
}
}
}
}
},
{
"name": "another-index",
"settings": {},
"mappings": {
"another-item": {
"properties": {
"location": {
"type": "geo_point"
}
}
}
}
}
]
}
A simple tool for managing simple Elasticsearch instances.
MIT
A simple tool for managing simple Elasticsearch instances.
MIT
A simple tool for managing simple Elasticsearch instances.
MIT