# List indices

**URL:** <https://discuss.elastic.co/t/list-indices/5500>\
**Category:** Elasticsearch\
**Created:** [October 3, 2011, 7:09am UTC](https://discuss.elastic.co/t/list-indices/5500 "2011-10-03T07:09:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steff](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Steff](https://discuss.elastic.co/u/Steff)\
**Post date:** [October 3, 2011, 7:09am UTC](https://discuss.elastic.co/t/list-indices/5500/1 "2011-10-03T07:09:24Z")

</div>

Hi

Is there a way to make ES create a list of all existing indices for  
me?

Regards, Per Steffensen

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [October 3, 2011, 9:34am UTC](https://discuss.elastic.co/t/list-indices/5500/2 "2011-10-03T09:34:15Z")

</div>

The best API for that is the cluster state API, you get much more  
information, but it also includes the list of indices you have (and more  
information on each one).

On Mon, Oct 3, 2011 at 9:09 AM, Steff [steff@designware.dk](mailto:steff@designware.dk) wrote:

> Hi
> 
> Is there a way to make ES create a list of all existing indices for  
> me?
> 
> Regards, Per Steffensen

---

<div class="post-metadata">

**Author:** ![Steff](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Steff](https://discuss.elastic.co/u/Steff)\
**Post date:** [October 4, 2011, 2:53pm UTC](https://discuss.elastic.co/t/list-indices/5500/3 "2011-10-04T14:53:36Z")

</div>

Thanks a lot. I found got it working.

On Oct 3, 11:34 am, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> The best API for that is the cluster state API, you get much more  
> information, but it also includes the list of indices you have (and more  
> information on each one).
> 
> On Mon, Oct 3, 2011 at 9:09 AM, Steff [st...@designware.dk](mailto:st...@designware.dk) wrote:
> 
> > Hi
> 
> > Is there a way to make ES create a list of all existing indices for  
> > me?
> 
> > Regards, Per Steffensen

---

<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, 3:52am UTC](https://discuss.elastic.co/t/list-indices/5500/4 "2017-07-06T03:52:51Z")

</div>


