Provide an easy (albeit simplified) access to some common tasks performed while using Elasticsearch.
Copy config.yml.dist
as config.yml
, then edit it to suit your needs.
Use to display current configuration (contents of config.yml
or the specified configuration loaded via -c
flag)
$ elasticop config
{
"settings": {
"enabled": 1,
"other": "yes"
},
"clusters": [
{
"name": "cluster_1",
"description": "Cluster 1",
"url": "http://localhost:9200"
},
{
"name": "cluster_2",
"description": "Cluster 2",
"url": "http://localhost:9200",
"username": "does_not_exit",
"password": "not_a_password"
},
{
"name": "cluster_3",
"description": "Cluster 2",
"cluster_id": "ff02dd45dd21eeff",
"username": "does_not_exit",
"password": "not_a_password"
}
]
}
TBD
TBD