# Confused about health information I received

**URL:** <https://discuss.elastic.co/t/confused-about-health-information-i-received/52358>\
**Category:** Elasticsearch\
**Created:** [June 9, 2016, 5:28pm UTC](https://discuss.elastic.co/t/confused-about-health-information-i-received/52358 "2016-06-09T17:28:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dal](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dal](https://discuss.elastic.co/u/dal)\
**Post date:** [June 9, 2016, 5:28pm UTC](https://discuss.elastic.co/t/confused-about-health-information-i-received/52358/1 "2016-06-09T17:28:10Z")

</div>

I am trying to follow a tutorial and as far as I know there should only be one running Elasticsearch instance and 3 documents added to 1 index. When I asked for health, it told me there are 2 nodes and 11 shards.

{  
"cluster\_name": "elk1",  
"status": "green",  
"timed\_out": false,  
"number\_of\_nodes": 2,  
"number\_of\_data\_nodes": 2,  
"active\_primary\_shards": 11,  
"active\_shards": 22,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 0,  
"delayed\_unassigned\_shards": 0,  
"number\_of\_pending\_tasks": 0,  
"number\_of\_in\_flight\_fetch": 0,  
"task\_max\_waiting\_in\_queue\_millis": 0,  
"active\_shards\_percent\_as\_number": 100  
}

I'm still reading about shards and data distribution among multiple nodes, but even so the output is confusing. There should only be one node as I'm pretty sure I'm only running one ElasticSearch instance. As a side question, how are documents distributed among shards: vertically or horizontally? In other words if there are 3 documents in one index, is all of doc1 in a shard, or are some fields in doc1 in one shard and the remaining fields in another shard?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 9, 2016, 7:56pm UTC](https://discuss.elastic.co/t/confused-about-health-information-i-received/52358/2 "2016-06-09T19:56:11Z")

</div>

> I'm still reading about shards and data distribution among multiple nodes, but even so the output is confusing. There should only be one node as I'm pretty sure I'm only running one Elasticsearch instance.

Use the [nodes info API](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html) to get more information about the nodes in the cluster. There are also APIs for listing which indexes you have. I strongly recommend you to install and use a dashboard plugin such as kopf, ElasticHQ, head, or Marvel.

> As a side question, how are documents distributed among shards: vertically or horizontally? In other words if there are 3 documents in one index, is all of doc1 in a shard, or are some fields in doc1 in one shard and the remaining fields in another shard?

Documents are never split between shards, i.e. any given document belongs to exactly one shard.

---

<div class="post-metadata">

**Author:** ![dal](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dal](https://discuss.elastic.co/u/dal)\
**Post date:** [June 9, 2016, 7:58pm UTC](https://discuss.elastic.co/t/confused-about-health-information-i-received/52358/3 "2016-06-09T19:58:56Z")

</div>

I have Marvel, and I printed my current nodes, but it still shows two nodes with the exact same node name and cluster name. I don't recall running two different elasticsearch instances.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 9, 2016, 8:01pm UTC](https://discuss.elastic.co/t/confused-about-health-information-i-received/52358/4 "2016-06-09T20:01:50Z")

</div>

The cluster name will by definition be the same. Where are those instances running? Which IP address and port?

---

<div class="post-metadata">

**Author:** ![dal](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dal](https://discuss.elastic.co/u/dal)\
**Post date:** [June 9, 2016, 8:05pm UTC](https://discuss.elastic.co/t/confused-about-health-information-i-received/52358/5 "2016-06-09T20:05:04Z")

</div>

localhost:9300 and localhos:9301

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 9, 2016, 8:12pm UTC](https://discuss.elastic.co/t/confused-about-health-information-i-received/52358/6 "2016-06-09T20:12:27Z")

</div>

But then you _are_ running two ES instances on your machine.

---

<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 5, 2017, 10:44pm UTC](https://discuss.elastic.co/t/confused-about-health-information-i-received/52358/7 "2017-07-05T22:44:56Z")

</div>


