# Using ES-head plugin, need help with terminologies (Screenshot attached)

**URL:** <https://discuss.elastic.co/t/using-es-head-plugin-need-help-with-terminologies-screenshot-attached/17171>\
**Category:** Elasticsearch\
**Created:** [April 24, 2014, 10:19am UTC](https://discuss.elastic.co/t/using-es-head-plugin-need-help-with-terminologies-screenshot-attached/17171 "2014-04-24T10:19:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaustubh\_Padegaonkar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaustubh_padegaonkar/32/1622_2.png) [@Kaustubh\_Padegaonkar](https://discuss.elastic.co/u/Kaustubh_Padegaonkar)\
**Post date:** [April 24, 2014, 10:19am UTC](https://discuss.elastic.co/t/using-es-head-plugin-need-help-with-terminologies-screenshot-attached/17171/1 "2014-04-24T10:19:04Z")

</div>

Hello Group,

Thank you for having me.

I used the Elasticsearch-head plugin on the suggestion of a post in this  
group. I have a broken ES cluster.

This is the screenshot of my cluster: [http://i.imgur.com/hIJJoSr.png](http://i.imgur.com/hIJJoSr.png). The  
boxes in gray show up as unassigned. The ones in green belong to a cluster.

I have the following questions that I was hoping you guys could help me  
with:

1. Why is there more than one shard with the same name? (See graylog2\_71)
2. Why is one primary, the other is not?
3. How can I assign them to a cluster that is currently up?
4. Is there anyway I can trace why the index was unassigned in the first  
place?

Thank you.

--  
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/015fd035-9cbe-41e5-88e9-a12479af3c15%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/015fd035-9cbe-41e5-88e9-a12479af3c15%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![vineeth\_mohan\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vineeth_mohan_2/32/747_2.png) [@vineeth\_mohan\_2](https://discuss.elastic.co/u/vineeth_mohan_2)\
**Post date:** [April 24, 2014, 6:27pm UTC](https://discuss.elastic.co/t/using-es-head-plugin-need-help-with-terminologies-screenshot-attached/17171/2 "2014-04-24T18:27:27Z")

</div>

Please find the answers inline

On Thu, Apr 24, 2014 at 3:49 PM, Kaustubh Padegaonkar \<[thetuxracer@gmail.com](mailto:thetuxracer@gmail.com)

> wrote:

> Hello Group,
> 
> Thank you for having me.
> 
> I used the Elasticsearch-head plugin on the suggestion of a post in this  
> group. I have a broken ES cluster.
> 
> This is the screenshot of my cluster: [http://i.imgur.com/hIJJoSr.png](http://i.imgur.com/hIJJoSr.png). The  
> boxes in gray show up as unassigned. The ones in green belong to a cluster.
> 
> I have the following questions that I was hoping you guys could help me  
> with:
> 
> 1. Why is there more than one shard with the same name? (See graylog2\_71)

graylog2\_71 is an index and not a shard. As this is a distributed system ,  
it will have multiple shards for each index distributed over many machines

> 1. Why is one primary, the other is not?

The primary one is responsible for the aggregation of results from all  
shards for each query. Any one has to be primary.

> 1. How can I assign them to a cluster that is currently up?

I feel most of the machines in your cluster are not up

> 1. Is there anyway I can trace why the index was unassigned in the first  
> place?

Issue here is , the machine with the shard and its replica , are not  
present in the cluster. Due to this ES cant bring back the data.

> Thank you.
> 
> --  
> 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/015fd035-9cbe-41e5-88e9-a12479af3c15%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/015fd035-9cbe-41e5-88e9-a12479af3c15%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/015fd035-9cbe-41e5-88e9-a12479af3c15%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/015fd035-9cbe-41e5-88e9-a12479af3c15%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/CAGdPd5m%2BTGioT5y1d-YESos382jyp-8aH\_%3DL0nXaswDs0%3Der%3DQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGdPd5m%2BTGioT5y1d-YESos382jyp-8aH_%3DL0nXaswDs0%3Der%3DQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Kaustubh\_Padegaonkar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaustubh_padegaonkar/32/1622_2.png) [@Kaustubh\_Padegaonkar](https://discuss.elastic.co/u/Kaustubh_Padegaonkar)\
**Post date:** [April 25, 2014, 7:01am UTC](https://discuss.elastic.co/t/using-es-head-plugin-need-help-with-terminologies-screenshot-attached/17171/3 "2014-04-25T07:01:09Z")

</div>

Hi Vineeth,

Thank you for your time. I have some followup questions inline. TIA.

On Thursday, April 24, 2014 11:57:27 PM UTC+5:30, vineeth mohan wrote:

> Please find the answers inline
> 
> On Thu, Apr 24, 2014 at 3:49 PM, Kaustubh Padegaonkar \<  
> [thetuxracer@gmail.com](mailto:thetuxracer@gmail.com) \<javascript:\>\> wrote:
> 
> > Hello Group,
> > 
> > Thank you for having me.
> > 
> > I used the Elasticsearch-head plugin on the suggestion of a post in this  
> > group. I have a broken ES cluster.
> > 
> > This is the screenshot of my cluster: [http://i.imgur.com/hIJJoSr.png](http://i.imgur.com/hIJJoSr.png).  
> > The boxes in gray show up as unassigned. The ones in green belong to a  
> > cluster.
> > 
> > I have the following questions that I was hoping you guys could help me  
> > with:
> > 
> > 1. Why is there more than one shard with the same name? (See graylog2\_71)
> 
> graylog2\_71 is an index and not a shard. As this is a distributed system  
> , it will have multiple shards for each index distributed over many machines

I meant to say that there are duplicate shards named 0,1,2,3,4 inside index  
graylog2\_71.

1. Why is one primary, the other is not?

> > 
> 
> The primary one is responsible for the aggregation of results from all  
> shards for each query. Any one has to be primary.

The shards with thick border are primary, and there exists 1 more shard  
with the same name.

1. How can I assign them to a cluster that is currently up?

> > 
> 
> I feel most of the machines in your cluster are not up

There is just one machine with ES in my cluster. I ran a bash script that  
used the open/close api to open closed indexes and deleted them. I think  
thats what caused the inconsistency.

> 1. Is there anyway I can trace why the index was unassigned in the first
> 
> > place?
> 
> Issue here is , the machine with the shard and its replica , are not  
> present in the cluster. Due to this ES cant bring back the data.

Can I not copy/rename the folders or run (any?) ES scripts to recover them?

Thank you.

> > Thank you.
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/015fd035-9cbe-41e5-88e9-a12479af3c15%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/015fd035-9cbe-41e5-88e9-a12479af3c15%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/015fd035-9cbe-41e5-88e9-a12479af3c15%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/015fd035-9cbe-41e5-88e9-a12479af3c15%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/53bd9eb2-63e6-422e-8e83-8ac3d2b72a42%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/53bd9eb2-63e6-422e-8e83-8ac3d2b72a42%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:33am UTC](https://discuss.elastic.co/t/using-es-head-plugin-need-help-with-terminologies-screenshot-attached/17171/4 "2017-07-06T01:33:36Z")

</div>


