1. Identify the oldest index
$ curl -ks https://localhost:9200/_cat/indices sort -k3 less
  1. Remove one or more oldest index to free up the space

$curl -ks -XDELETE https://localhost:9200/-YYYY.MM.DD

e.g.:-

$curl -ks -XDELETE https://localhost:9200/-2021.09.10

Updated: