# Find the number of Shards and Replicas on a Rest call for each node?

**URL:** <https://discuss.elastic.co/t/find-the-number-of-shards-and-replicas-on-a-rest-call-for-each-node/19873>\
**Category:** Elasticsearch\
**Created:** [September 18, 2014, 8:19pm UTC](https://discuss.elastic.co/t/find-the-number-of-shards-and-replicas-on-a-rest-call-for-each-node/19873 "2014-09-18T20:19:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gthoman](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@gthoman](https://discuss.elastic.co/u/gthoman)\
**Post date:** [September 18, 2014, 8:19pm UTC](https://discuss.elastic.co/t/find-the-number-of-shards-and-replicas-on-a-rest-call-for-each-node/19873/1 "2014-09-18T20:19:52Z")

</div>

Hello,

I have three different nodes with the default settings and was trying to  
find a rest call that would show me the number of shards and replicas that  
are being used on each node. I have done a cluster health to get the  
overall amount of shards and replicas but looking for a way to see it on  
each node. Hopefully without alot of other information, just the node and  
what primary and replica shards it has.....

Thanks....

Gene

--  
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/01b7b09d-773f-4b9c-989b-191c6c8786e9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/01b7b09d-773f-4b9c-989b-191c6c8786e9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![gthoman](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@gthoman](https://discuss.elastic.co/u/gthoman)\
**Post date:** [September 25, 2014, 4:11pm UTC](https://discuss.elastic.co/t/find-the-number-of-shards-and-replicas-on-a-rest-call-for-each-node/19873/2 "2014-09-25T16:11:27Z")

</div>

Anyone?

On Thursday, September 18, 2014 4:19:52 PM UTC-4, gthoman wrote:

> Hello,
> 
> I have three different nodes with the default settings and was trying to  
> find a rest call that would show me the number of shards and replicas that  
> are being used on each node. I have done a cluster health to get the  
> overall amount of shards and replicas but looking for a way to see it on  
> each node. Hopefully without alot of other information, just the node and  
> what primary and replica shards it has.....
> 
> Thanks....
> 
> Gene

--  
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/01024940-cc67-4c52-bb70-fa6b142c4d18%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/01024940-cc67-4c52-bb70-fa6b142c4d18%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 25, 2014, 10:14pm UTC](https://discuss.elastic.co/t/find-the-number-of-shards-and-replicas-on-a-rest-call-for-each-node/19873/3 "2014-09-25T22:14:51Z")

</div>

You're first bet is always the docs - [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/)

You want with either the \_cat/indices or the indices API.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 26 September 2014 02:11, gthoman [genetho71@gmail.com](mailto:genetho71@gmail.com) wrote:

> Anyone?
> 
> On Thursday, September 18, 2014 4:19:52 PM UTC-4, gthoman wrote:
> 
> > Hello,
> > 
> > I have three different nodes with the default settings and was trying to  
> > find a rest call that would show me the number of shards and replicas that  
> > are being used on each node. I have done a cluster health to get the  
> > overall amount of shards and replicas but looking for a way to see it on  
> > each node. Hopefully without alot of other information, just the node and  
> > what primary and replica shards it has.....
> > 
> > Thanks....
> > 
> > Gene
> 
> --  
> 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/01024940-cc67-4c52-bb70-fa6b142c4d18%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/01024940-cc67-4c52-bb70-fa6b142c4d18%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/01024940-cc67-4c52-bb70-fa6b142c4d18%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/01024940-cc67-4c52-bb70-fa6b142c4d18%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624ZzFuex3jK9bKg78L0mhbKMKQwpvCN5gnAKX25%3DuYi%3DWg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZzFuex3jK9bKg78L0mhbKMKQwpvCN5gnAKX25%3DuYi%3DWg%40mail.gmail.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, 12:59am UTC](https://discuss.elastic.co/t/find-the-number-of-shards-and-replicas-on-a-rest-call-for-each-node/19873/4 "2017-07-06T00:59:50Z")

</div>


