Low disk watermark
Jump to navigation
Jump to search
https://stackoverflow.com/questions/33369955/low-disk-watermark-exceeded-on
Solution
curl -XPUT --insecure https://localhost:9200/_cluster/settings -u "elastic:yourpasss" -H 'Content-Type: application/json' -d '{ "transient" : { "cluster.routing.allocation.disk.watermark.low" : "90%", "cluster.routing.allocation.disk.watermark.high" : "95%", "cluster.routing.allocation.disk.watermark.flood_stage" : "98%" } }'
One line:
curl -XPUT --insecure https://localhost:9200/_cluster/settings -u "elastic:yourpasss" -H 'Content-Type: application/json' -d '{ "transient" : { "cluster.routing.allocation.disk.watermark.low" : "90%", "cluster.routing.allocation.disk.watermark.high" : "95%", "cluster.routing.allocation.disk.watermark.flood_stage" : "98%"} }'
{"type": "server", "timestamp": "2022-10-19T08:40:06,901Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.low] from [85%] to [90%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234" } {"type": "server", "timestamp": "2022-10-19T08:40:06,903Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.high] from [90%] to [95%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234" } {"type": "server", "timestamp": "2022-10-19T08:40:06,904Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.flood_stage] from [95%] to [98%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234" } {"type": "server", "timestamp": "2022-10-19T08:40:06,905Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.low] from [85%] to [90%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234" } {"type": "server", "timestamp": "2022-10-19T08:40:06,906Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.high] from [90%] to [95%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234" } {"type": "server", "timestamp": "2022-10-19T08:40:06,906Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.flood_stage] from [95%] to [98%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234" }
https://stackoverflow.com/questions/33369955/low-disk-watermark-exceeded-on
cluster.routing.allocation.disk.watermark.low cluster.routing.allocation.disk.watermark.high cluster.routing.allocation.disk.watermark.flood_stage
/etc/elasticsearch/elasticsearch.yml
curl -XPUT localhost:9200/_cluster/settings -d '{ "transient" : { "cluster.routing.allocation.disk.threshold_enabled" : false } }'
Related
See also
- Elasticsearch troubleshooting, Elasticsearch logs,
yellow, Low disk watermark, in-memory shard lock, re-running
- Elasticsearch, installation, ELK, Elastic X-Pack,
elasticsearch.yml
, logs, ECK, Elasticsearch curl URLs, Elastisearch REST APIs,/_cat/, /_cluster/, /_xpack/
, QueryShardException, Elasticsearch index, ELK backup and restore,elasticsearch-cli
, Elasticsearch versions, ElasticSearch Snapshot Lifecycle Management (SLM), Low disk watermark, Elasticsearch storage, Elasticsearch users, Elasticsearch roles, search context, shards, Elastic Cloud, Elastic Licensing, ElasticSearch alerts, ESQL
Advertising: