# Get all Idices on a cluster

**URL:** https://discuss.elastic.co/t/get-all-idices-on-a-cluster/12973
**Category:** Elasticsearch
**Created:** [July 28, 2013, 12:06pm UTC](https://discuss.elastic.co/t/get-all-idices-on-a-cluster/12973 "2013-07-28T12:06:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)
#### Post date: [July 28, 2013, 12:06pm UTC](https://discuss.elastic.co/t/get-all-idices-on-a-cluster/12973/1 "2013-07-28T12:06:05Z")

</div>

Hi,

How do I get all the indices names of a single cluster? Didn't find it on  
the documentation.

Regards,  
Ophir

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Dan\_Fairs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_fairs/32/1205_2.png) [@Dan\_Fairs](https://discuss.elastic.co/u/Dan_Fairs)
#### Post date: [July 28, 2013, 1:56pm UTC](https://discuss.elastic.co/t/get-all-idices-on-a-cluster/12973/2 "2013-07-28T13:56:16Z")

</div>

Hi Ophir,

> How do I get all the indices names of a single cluster? Didn't find it on the documentation.

You should find that information in the cluster state API:

[Elastic — The Search AI Company | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-cluster-state/)

## Cheers, Dan

Dan Fairs | [dan.fairs@gmail.com](mailto:dan.fairs@gmail.com) | @danfairs | [secondsync.com](http://secondsync.com)

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Philip](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/philip/32/2208_2.png) [@Philip](https://discuss.elastic.co/u/Philip)
#### Post date: [July 28, 2013, 10:31pm UTC](https://discuss.elastic.co/t/get-all-idices-on-a-cluster/12973/3 "2013-07-28T22:31:19Z")

</div>

http://:9200/\_cluster/state?filter\_routing\_table=true&filter\_nodes=true&filter\_blocks=true&pretty

then process the JSON that comes back using Python, ruby etc.

{  
"cluster\_name" : "MyCluster",  
"metadata" : {  
"templates" : { },  
"indices" : {

Philip

On Sun, Jul 28, 2013 at 5:06 AM, Ophir Michaeli [via Elasticsearch  
Users] [ml-node+s115913n4038760h14@n3.nabble.com](mailto:ml-node+s115913n4038760h14@n3.nabble.com) wrote:

> Hi,
> 
> How do I get all the indices names of a single cluster? Didn't find it on  
> the documentation.
> 
> Regards,  
> Ophir
> 
> --  
> 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 [hidden email].  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> * * *
> 
> If you reply to this email, your message will be added to the discussion  
> below:  
> [http://elasticsearch-users.115913.n3.nabble.com/Get-all-Idices-on-a-cluster-tp4038760.html](http://elasticsearch-users.115913.n3.nabble.com/Get-all-Idices-on-a-cluster-tp4038760.html)  
> To unsubscribe from Elasticsearch Users, click here.  
> NAML

---

<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, 2:24am UTC](https://discuss.elastic.co/t/get-all-idices-on-a-cluster/12973/4 "2017-07-06T02:24:06Z")

</div>


