elasticsearch - How to remove elastic index with special characters in name? -
on elasticsearch 2.2 node accidentally created index name '%{[index]}'. how can index removed?
curl -xdelete 'http://localhost:9200/%{[index]}/'
fails curl: (3) [globbing] nested brace in column 28
.
you need url-encode special characters in index name, this, , index magically disappear:
curl -xdelete 'http://localhost:9200/%25%7b%5bindex%5d%7d/'
Comments
Post a Comment