WARNING: Version 0.90 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Cluster Update Settingsedit
Allows to update cluster wide specific settings. Settings updated can either be persistent (applied cross restarts) or transient (will not survive a full cluster restart). Here is an example:
curl -XPUT localhost:9200/_cluster/settings -d '{ "persistent" : { "discovery.zen.minimum_master_nodes" : 2 } }'
Or:
curl -XPUT localhost:9200/_cluster/settings -d '{ "transient" : { "discovery.zen.minimum_master_nodes" : 2 } }'
The cluster responds with the settings updated. So the response for the last example will be:
{ "persistent" : {}, "transient" : { "discovery.zen.minimum_master_nodes" : "2" } }'
Cluster wide settings can be returned using:
curl -XGET localhost:9200/_cluster/settings
There is a specific list of settings that can be updated, those include:
Cluster settingsedit
Routing allocationedit
Awarenessedit
Balanced Shardsedit
-
cluster.routing.allocation.balance.shard
-
Defines the weight factor for shards allocated on a node
(float). Defaults to
0.45f
. -
cluster.routing.allocation.balance.index
-
Defines a factor to the number of shards per index allocated
on a specific node (float). Defaults to
0.5f
. -
cluster.routing.allocation.balance.primary
-
defines a weight factor for the number of primaries of a specific index
allocated on a node (float).
0.05f
. -
cluster.routing.allocation.balance.threshold
-
minimal optimization value of operations that should be performed (non
negative float). Defaults to
1.0f
.
Concurrent Rebalanceedit
-
cluster.routing.allocation.cluster_concurrent_rebalance
-
Allow to control how many concurrent rebalancing of shards are
allowed cluster wide, and default it to
2
(integer).-1
for unlimited. See also Cluster.
Disable allocationedit
Throttling allocationedit
Filter allocationedit
Metadataedit
-
cluster.blocks.read_only
- Have the whole cluster read only (indices do not accept write operations), metadata is not allowed to be modified (create or delete indices).
Discoveryedit
-
discovery.zen.minimum_master_nodes
- See Zen Discovery
Threadpoolsedit
-
threadpool.*
- See Thread Pool
Index settingsedit
Index filter cacheedit
TTL intervaledit
-
indices.ttl.interval
(time) -
See
_ttl
Recoveryedit
-
indices.recovery.concurrent_streams
- See Indices
-
indices.recovery.file_chunk_size
- See Indices
-
indices.recovery.translog_ops
- See Indices
-
indices.recovery.translog_size
- See Indices
-
indices.recovery.compress
- See Indices
-
indices.recovery.max_bytes_per_sec
- Since 0.90.1. See Indices
-
indices.recovery.max_size_per_sec
-
Deprecated since 0.90.1. See
max_bytes_per_sec
instead.
Store level throttlingedit
Loggeredit
Logger values can also be updated by setting logger.
prefix. More
settings will be allowed to be updated.