# Elasticsearch cluster stats api return different values on different node

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-stats-api-return-different-values-on-different-node/127786>\
**Category:** Elasticsearch\
**Created:** [April 12, 2018, 10:19am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-stats-api-return-different-values-on-different-node/127786 "2018-04-12T10:19:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![l0calh0st](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@l0calh0st](https://discuss.elastic.co/u/l0calh0st)\
**Post date:** [April 12, 2018, 10:19am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-stats-api-return-different-values-on-different-node/127786/1 "2018-04-12T10:19:44Z")

</div>

![es](https://us1.discourse-cdn.com/elastic/original/3X/e/3/e38d0e0c2b64deae3e450daf5fec39ba60947c69.png)

on master \_cluster/stats:  
"fs" : {  
"total\_in\_bytes" : 15874832596992,  
"free\_in\_bytes" : 12578652061696,  
"available\_in\_bytes" : 12578652061696,  
"spins" : "true"  
},

node analyzer1(hot) \_cluster/stats:  
"fs" : {  
"total\_in\_bytes" : 16274067427328,  
"free\_in\_bytes" : 12992671711232,  
"available\_in\_bytes" : 12992671711232,  
"spins" : "true"  
},

on analyzer2(hot) \_cluster/stats:  
"fs" : {  
"total\_in\_bytes" : 16274067427328,  
"free\_in\_bytes" : 12989881016320,  
"available\_in\_bytes" : 12989881016320,  
"spins" : "true"  
},

on analyzer3(warm) \_cluster:

"fs" : {  
"total\_in\_bytes" : 14753986846720,  
"free\_in\_bytes" : 11355335659520,  
"available\_in\_bytes" : 11355335659520,  
"spins" : "true"  
},

on analyzer4(warm) \_cluster/stats

"fs" : {  
"total\_in\_bytes" : 17874236866560,  
"free\_in\_bytes" : 14598999666688,  
"available\_in\_bytes" : 14598999666688,  
"spins" : "true"  
},

The five node are in same cluster,and the cluster status is green

Why am I getting different values of fs\_total?

note: elastic version: 5.2.2 jdkversion: openjdk8

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [April 13, 2018, 9:03pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-stats-api-return-different-values-on-different-node/127786/2 "2018-04-13T21:03:04Z")

</div>

There is a `_nodes` section at the top of the each stats response. Could you check if you get the same numbers there and that `failed` field contains 0?

```auto
  "_nodes": {
    "total": NN,
    "successful": NN,
    "failed": 0
  },

```

---

<div class="post-metadata">

**Author:** ![l0calh0st](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@l0calh0st](https://discuss.elastic.co/u/l0calh0st)\
**Post date:** [April 16, 2018, 2:27am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-stats-api-return-different-values-on-different-node/127786/3 "2018-04-16T02:27:08Z")

</div>

> [@Igor\_Motov](#):
>
> section at the top of the each stats response. Could you che

when get same number s,i didn't care this value  
but now get different numbers, i check it ,every failed field contains 0

---

<div class="post-metadata">

**Author:** ![l0calh0st](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@l0calh0st](https://discuss.elastic.co/u/l0calh0st)\
**Post date:** [April 16, 2018, 2:34am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-stats-api-return-different-values-on-different-node/127786/4 "2018-04-16T02:34:30Z")

</div>

the interesting is the number changed, with no any regular(some increased, and some decreased)  
the master values  
last week:15874832596992 and now:15874832596992--------------------same

node1  
last week:16274067427328 and now:16354156285952---------------------increased

node2  
last week:16274067427328 and now:13875428327424 ------------------descreased

node3:  
last week: 14753986846720 and now:17874236866560------------------increased

node4:  
last week:17874236866560 and now:16274067427328 -------------descreased

---

<div class="post-metadata">

**Author:** ![l0calh0st](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@l0calh0st](https://discuss.elastic.co/u/l0calh0st)\
**Post date:** [April 16, 2018, 2:37am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-stats-api-return-different-values-on-different-node/127786/5 "2018-04-16T02:37:27Z")

</div>

in my cluaster each node has 2 es instance  
and each instance has 2 attribute : box\_type and attr.zone

may be by affected this?

---

<div class="post-metadata">

**Author:** ![l0calh0st](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@l0calh0st](https://discuss.elastic.co/u/l0calh0st)\
**Post date:** [April 16, 2018, 2:56am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-stats-api-return-different-values-on-different-node/127786/7 "2018-04-16T02:56:32Z")

</div>

![1523847299(1)](https://us1.discourse-cdn.com/elastic/original/3X/8/2/827264a9c8d5a4e51e5e8e87191455cb04a0191d.png)

the values changed

---

<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:** [May 14, 2018, 2:56am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-stats-api-return-different-values-on-different-node/127786/8 "2018-05-14T02:56:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
