Elasticsearch

Set RW mode when storage is low

curl -XPUT -H "Content-Type: application/json" $1://$2/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
  • $1 = Protocol (http or https)

  • $2 = Host (localhost:9000)