Shard allocated / total

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

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

the console return me the following result

{
  "_shards": {
    "total": 1742
  }
}

but with the command

GET /_cat/allocation?v

the output is

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

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