Difference between revisions of "GET / cluster/settings"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
  [[GET /_cluster/settings?include_defaults]]
 
  [[GET /_cluster/settings?include_defaults]]
 +
 +
 +
[[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
 +
    }
 +
}'
  
  

Revision as of 08:11, 19 October 2022

/_cluster/settings
{"persistent":{},"transient":{}}
/my-index-000001/_doc/


GET /_cluster/settings?include_defaults


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
    }
}'

Related

cluster.routing.allocation.disk.watermark.low
cluster.routing.allocation.disk.watermark.high
cluster.routing.allocation.disk.watermark.flood_stage

See also

  • https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-templates.html
  • Advertising: