In case you want to restore changes cluster settings to default, you should use the following command:
curl -XPUT 'http://localhost:9200/_cluster/settings' -H 'Content-Type: application/json' -d '{
"transient" : {
"cluster.routing.allocation.disk.watermark.flood_stage" : null,
"cluster.routing.allocation.disk.watermark.low" : null,
"cluster.routing.allocation.disk.watermark.high" : null
}
}'
Setting all properties with the value null
will restore the three properties back to default