$ ezmesure-admin cluster --help
Name | Description |
---|---|
flush | Flush all data streams and indices in the cluster |
settings | Show cluster settings |
shard | Manage shards |
$ ezmesure-admin cluster flush
Example of result :
Total: 3
Successful: 3
Failed: 0
$ ezmesure-admin cluster settings
Example of result :
{
"persistent": {
"xpack": {
"monitoring": {
"collection": {
"enabled": "true"
}
}
}
},
"transient": {}
}
$ ezmesure-admin shard <command>
Command | Description |
---|---|
allocation | Enable or disable allocation for specific kinds of elasticsearch shards |
Type :
- all
- primaries
- new_primaries
- none
- null
$ ezmesure-admin shard allocation <type>
Example of result :
Cluster settings applied