Still able to delete index with wildcard

This is using elasticsearch 2.4 . I added the action.destructive_requires_name: true to the yml and did a restart of the cluster. It seems we are still able to do delete using _all. Is there something I am missing?

It certainly doesn't look to me like it should work, looking at the code. If you find it works in a modern version of Elasticsearch I'd file an issue.

according to the docs it should, https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-delete-index.html

I read that as "unless action.destructive_requires_name is set to true, deletes using _all or wildcards don't work".

so is there something i should be changing? sorry for the late response as I went on vacation.

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