Wednesday, April 8, 2020

Elasticsearch flood stage disk watermark error


If your disk is full, you must first empty it and then run these two curl commands:


curl -XPUT -H "Content-Type: application/json" http: //localhost:9200/_cluster/settings -d '{ "transient": { "cluster.routing.allocation.disk.threshold_enabled": false } }'


curl -XPUT -H "Content-Type: application/json" http: //localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}