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

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?

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*.

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

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