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

sql - can we replace full join with union of left and right join? why not? -

iOS: Performance of reloading UIImage(name:...) -

javascript - Parallax scrolling and fixed footer code causing width issues -