Cluster
The cluster APIs enable you to retrieve information about your infrastructure on cluster, node, or shard level. You can manage cluster settings and voting configuration exceptions, collect node statistics and retrieve node information.
Endpoints
20 endpoints
-
HEAD
Ping the cluster
/ -
POST
GET
Explain the shard allocations
/_cluster /allocation /explain -
GET
Get the cluster health status
/_cluster /health [/{index}] -
GET
Get the pending cluster tasks
/_cluster /pending_tasks -
POST
Reroute the cluster
/_cluster /reroute -
GET
Get cluster-wide settings
/_cluster /settings -
PUT
Update the cluster settings
/_cluster /settings -
GET
Get the cluster state
/_cluster /state /{metric} /{index} -
GET
Get cluster statistics
/_cluster /stats /nodes /{node_id} -
POST
Update voting configuration exclusions
/_cluster /voting_config_exclusions -
DELETE
Clear cluster voting config exclusions
/_cluster /voting_config_exclusions -
GET
Get cluster subsystem info
/_info /{target} -
GET
Get cluster repositories metering
/_nodes /{node_id} /_repositories_metering -
DELETE
Clear the archived repositories metering
/_nodes /{node_id} /_repositories_metering /{max_archive_version} -
GET
Get the hot threads for nodes
/_nodes [/{node_id}] /hot_threads -
POST
Reload the keystore on nodes in the cluster
/_nodes [/{node_id}] /reload_secure_settings -
GET
Get node statistics
/_nodes /{node_id} /stats /{metric} /{index_metric} -
GET
Get feature usage information
/_nodes /{node_id} /usage /{metric} -
GET
Get node information
/_nodes /{node_id} /{metric} -
GET
Get remote cluster information
/_remote /info