# Delete doesn't delete all indexes

**URL:** <https://discuss.elastic.co/t/delete-doesnt-delete-all-indexes/18010>\
**Category:** Elasticsearch\
**Created:** [June 10, 2014, 9:13am UTC](https://discuss.elastic.co/t/delete-doesnt-delete-all-indexes/18010 "2014-06-10T09:13:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin\_Clarke](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@Robin\_Clarke](https://discuss.elastic.co/u/Robin_Clarke)\
**Post date:** [June 10, 2014, 9:13am UTC](https://discuss.elastic.co/t/delete-doesnt-delete-all-indexes/18010/1 "2014-06-10T09:13:52Z")

</div>

I am trying to delete a month of logstash indexes, and fire off e.g. this  
command:

curl -XDELETE "[http://localhost:9200/logstash-2014.05\*?pretty](http://localhost:9200/logstash-2014.05*?pretty)"

which returns within a few seconds (less than a minute - the default  
timeout afaik) with:  
{  
"acknowledged" : true  
}

But when I look at the indexes, only a couple have been deleted... I have  
to repeat the command several times until all indexes from the month are  
deleted.  
Is this a bug, or am I doing something wrong?

Cheers,  
-Robin-

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/15f36879-4574-4485-9d54-94d5eba89f36%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/15f36879-4574-4485-9d54-94d5eba89f36%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:23am UTC](https://discuss.elastic.co/t/delete-doesnt-delete-all-indexes/18010/2 "2017-07-06T01:23:38Z")

</div>

Closed on July 6, 2017, 1:23am UTC


