How do I delete an index called %{foo} in dev tools?


#1

If I have an index called logstash-whatever-2018.05.21 then I can delete it from dev tools using

DELETE logstash-whatever-2018.05.21

However, if I have an index called %{foo} then dev tools merges

DELETE %{foo}

with the previous request, and will not recognize it as a request if it is the first request. How can I delete this index?


(Christian Dahlqvist) #2

Do you have any other indices with foo in the name? (Check GET -cat/indices/*foo*). If not, you should be able to get rid of it by deleting everything with foo in the name: DELETE *foo*.


#3

It's scary but it works ... DELETE *foo* :slight_smile:


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.