Difference between revisions of "PUT / cluster/settings"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | |||
[[PUT]] [[/_cluster/settings]] | [[PUT]] [[/_cluster/settings]] | ||
* 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]] https://localhost:9200/_cluster/settings -d '{ | ||
+ | "transient" : { | ||
+ | "cluster.routing.allocation.disk.threshold_enabled" : false | ||
+ | } | ||
+ | }' | ||
Latest revision as of 17:22, 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 https://localhost:9200/_cluster/settings -d '{ "transient" : { "cluster.routing.allocation.disk.threshold_enabled" : false } }'
Relate[edit]
GET /_cluster/settings
/_cluster/settings?include_defaults
/_cluster/health
/_cluster/settings
GET /_cluster/allocation/explain
PUT /_cluster/settings
elasticsearch.yml
See also[edit]
Advertising: