# Get the number of documents of index in snapshot?

**URL:** <https://discuss.elastic.co/t/get-the-number-of-documents-of-index-in-snapshot/226875>\
**Category:** Elasticsearch\
**Created:** [April 7, 2020, 10:44am UTC](https://discuss.elastic.co/t/get-the-number-of-documents-of-index-in-snapshot/226875 "2020-04-07T10:44:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arp](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Arp](https://discuss.elastic.co/u/Arp)\
**Post date:** [April 7, 2020, 10:44am UTC](https://discuss.elastic.co/t/get-the-number-of-documents-of-index-in-snapshot/226875/1 "2020-04-07T10:44:17Z")

</div>

Hi,

Is it possible to get the number of documents an index in a snapshot has? I know how to do this for actual indices. I can see which indices are in snapshot, but I can't figure out how to get the number of documents of an index in a snapshot...

Is that possible? How?

Thx.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [April 7, 2020, 10:56am UTC](https://discuss.elastic.co/t/get-the-number-of-documents-of-index-in-snapshot/226875/2 "2020-04-07T10:56:53Z")

</div>

No, sorry, this isn't something you can obtain from a snapshot without restoring it first.

---

<div class="post-metadata">

**Author:** ![Arp](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Arp](https://discuss.elastic.co/u/Arp)\
**Post date:** [April 7, 2020, 12:36pm UTC](https://discuss.elastic.co/t/get-the-number-of-documents-of-index-in-snapshot/226875/3 "2020-04-07T12:36:42Z")

</div>

Ah, ok. Thanks.

Is there another way to check if the index of a snapshot is complete? Say, I have daily indices and take a snapshot now. The index gets filled until tomorrow. Is there way to see how much of the index is actually in the snapshot?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [April 7, 2020, 12:57pm UTC](https://discuss.elastic.co/t/get-the-number-of-documents-of-index-in-snapshot/226875/4 "2020-04-07T12:57:27Z")

</div>

You can see the time at which each snapshot started/ended, which tells you how stale or fresh it is.

---

<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 5, 2020, 12:57pm UTC](https://discuss.elastic.co/t/get-the-number-of-documents-of-index-in-snapshot/226875/5 "2020-05-05T12:57:28Z")

</div>

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