User Tools

Site Tools


elasticsearch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
elasticsearch [2021/01/25 23:37] k2patelelasticsearch [2021/01/25 23:41] (current) – [Quick Commands] k2patel
Line 40: Line 40:
 curl -XDELETE 'http://localhost:9200/*.reindex' curl -XDELETE 'http://localhost:9200/*.reindex'
 </code> </code>
 +
 +== Disk usage issue ==
 +When free disk space fall cluster fails.
 +<code bash>
 +curl -H 'Content-Type: application/json' -X PUT -d '{
 +  "transient": {
 +    "cluster.routing.allocation.disk.watermark.low": "89%",
 +    "cluster.routing.allocation.disk.watermark.high": "94%",
 +   "cluster.info.update.interval": "1m"
 +  }
 +}' http://localhost:9200/_cluster/settings
 +</code>
 +
 +
 ==== Templates ==== ==== Templates ====
  
elasticsearch.txt · Last modified: 2021/01/25 23:41 by k2patel