# Shard allocated / total

**URL:** <https://discuss.elastic.co/t/shard-allocated-total/352868>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring, ilm-index-lifecycle-management\
**Created:** [February 8, 2024, 2:02pm UTC](https://discuss.elastic.co/t/shard-allocated-total/352868 "2024-02-08T14:02:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samuele\_Lolli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samuele_lolli/32/107848_2.png) [@Samuele\_Lolli](https://discuss.elastic.co/u/Samuele_Lolli)\
**Post date:** [February 8, 2024, 2:02pm UTC](https://discuss.elastic.co/t/shard-allocated-total/352868/1 "2024-02-08T14:02:30Z")

</div>

Hi everyone,  
im doing some check on my system and im analyzing the number of shard on my deployment.

Im using two "command" to check how many shard im using.

With the command

```auto
GET /_stats?level=cluster&filter_path=_shards.total

```

the console return me the following result

```auto
{
  "_shards": {
    "total": 1742
  }
}

```

but with the command

```auto
GET /_cat/allocation?v

```

the output is

```auto
shards disk.indices disk.used disk.avail disk.total disk.percent host ip node
  1026 xgb ygb zgb 280gb   
  1026 xgb ygb zgb 280gb        

```

My question is: why the number of shard with the first command is different than the second one?

Thank you in advance

---

<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:** [March 7, 2024, 2:02pm UTC](https://discuss.elastic.co/t/shard-allocated-total/352868/2 "2024-03-07T14:02:41Z")

</div>

Closed on March 7, 2024, 2:02pm UTC

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