Difference between revisions of "GET / cluster/settings"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
* <code>[[GET /_cluster/settings?include_defaults]]</code>
 +
* [[Disk section]]: <code>[[Disk section: GET /_cluster/settings?include_defaults|GET /_cluster/settings?include_defaults]]</code>
 +
 +
 +
      "disk": {
 +
            "threshold_enabled": "true",
 +
            "watermark": {
 +
              "flood_stage": "95%",
 +
              "high": "90%",
 +
              "low": "85%",
 +
              "enable_for_single_data_node": "false"
 +
            },
 +
  
 
  [[/_cluster/]]settings
 
  [[/_cluster/]]settings
Line 5: Line 18:
 
  [[/my-index-000001/_doc/]]
 
  [[/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 ==
 
== Related ==
Line 37: Line 32:
 
== See also ==
 
== See also ==
 
* {{ES tr}}
 
* {{ES tr}}
* {{OpenSearch}}
+
* {{ES URLs}}
 
* {{Elasticsearch}}
 
* {{Elasticsearch}}
  
 
[[Category:Elasticsearch]]
 
[[Category:Elasticsearch]]

Latest revision as of 17:20, 23 January 2023


      "disk": {
           "threshold_enabled": "true",
           "watermark": {
             "flood_stage": "95%",
             "high": "90%",
             "low": "85%",
             "enable_for_single_data_node": "false"
           },


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


Related[edit]


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

See also[edit]

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