Difference between revisions of "PUT / cluster/settings"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html | * https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html | ||
+ | |||
+ | [[curl -XPUT]] localhost:9200/_cluster/settings -d '{ | ||
+ | "transient" : { | ||
+ | "[[cluster.routing.allocation.disk.watermark.low]]" : 90, | ||
+ | "[[cluster.routing.allocation.disk.watermark.high]]" : 95, | ||
+ | "[[cluster.routing.allocation.disk.watermark.flood_stage]]" : 98 | ||
+ | } | ||
+ | }' | ||
+ | |||
+ | |||
+ | [[curl -XPUT]] localhost:9200/_cluster/settings -d '{ | ||
+ | "transient" : { | ||
+ | "cluster.routing.allocation.disk.threshold_enabled" : false | ||
+ | } | ||
+ | }' | ||
Revision as of 17:20, 23 January 2023
PUT /_cluster/settings
curl -XPUT localhost:9200/_cluster/settings -d '{ "transient" : { "cluster.routing.allocation.disk.watermark.low" : 90, "cluster.routing.allocation.disk.watermark.high" : 95, "cluster.routing.allocation.disk.watermark.flood_stage" : 98 } }'
curl -XPUT localhost:9200/_cluster/settings -d '{ "transient" : { "cluster.routing.allocation.disk.threshold_enabled" : false } }'
Relate
GET /_cluster/settings
/_cluster/settings?include_defaults
/_cluster/health
/_cluster/settings
GET /_cluster/allocation/explain
PUT /_cluster/settings
elasticsearch.yml
See also
Advertising: