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 -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -