Difference between revisions of "PUT / cluster/settings"

From wikieduonline
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

Advertising: