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

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -