# Getting Index Info from curl

**URL:** <https://discuss.elastic.co/t/getting-index-info-from-curl/43822>\
**Category:** Logstash\
**Created:** [March 8, 2016, 7:29pm UTC](https://discuss.elastic.co/t/getting-index-info-from-curl/43822 "2016-03-08T19:29:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluethundr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bluethundr/32/409_2.png) [@bluethundr](https://discuss.elastic.co/u/bluethundr)\
**Post date:** [March 8, 2016, 7:29pm UTC](https://discuss.elastic.co/t/getting-index-info-from-curl/43822/1 "2016-03-08T19:29:24Z")

</div>

Guys,

When I do a verbose curl on my indexes this is what I'll see:

```auto
health status index pri rep docs.count docs.deleted store.size pri.store.size
green open logstash-2016.02.22 5 1 3362748 0 2.9gb 1.4gb
green open logstash-2016.01.16 5 1 4808464 0 4.9gb 2.4gb

```

My question is, what is the difference between store.size and pri.store.size?

Thanks

---

<div class="post-metadata">

**Author:** ![bhatch](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bhatch](https://discuss.elastic.co/u/bhatch)\
**Post date:** [March 8, 2016, 9:36pm UTC](https://discuss.elastic.co/t/getting-index-info-from-curl/43822/2 "2016-03-08T21:36:57Z")

</div>

Store.size is how much space in total the index is using up. This includes primary and replicas.  
pri.store.size is how much space the index takes up on just the primary shards.

You can see that the rep column shows 1 saying that each shard has 1 replica. Since a replica is a fully copy of the data, you are basically doubling the storage size.

---

<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, 5:07am UTC](https://discuss.elastic.co/t/getting-index-info-from-curl/43822/3 "2017-07-06T05:07:55Z")

</div>


