Skip to content

Instantly share code, notes, and snippets.

@j8
Created September 9, 2015 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j8/c8aea2e401a634d26d4e to your computer and use it in GitHub Desktop.
Save j8/c8aea2e401a634d26d4e to your computer and use it in GitHub Desktop.
Elasticsearch set watermark
curl -XPUT localhost:9200/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.disk.watermark.low" : "95%",
"cluster.routing.allocation.disk.watermark.high" : "50gb",
"cluster.info.update.interval" : "1m"
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment