Knowledgebase:
Set Elastic Search Watermark Levels
Posted by Ryan Gorman on 22/06/22 14:05

To set the watermark levels for disk space in Elastic Search (the value where it stops taking data and sets to read only) you set that with the below command:-

curl -XPUT 'http://localhost:9200/_cluster/settings' -H 'Content-Type: application/json' -d '{
"transient" : {
"cluster.routing.allocation.disk.watermark.flood_stage" : "99%",
"cluster.routing.allocation.disk.watermark.high" : "98%"
}
}'

Those are the percentages which stop the elastic instance from reading the data.  

(0 vote(s))
Helpful
Not helpful

Comments (0)