# Elasticsearch document size

**URL:** <https://discuss.elastic.co/t/elasticsearch-document-size/155456>\
**Category:** Elasticsearch\
**Created:** [November 5, 2018, 9:00pm UTC](https://discuss.elastic.co/t/elasticsearch-document-size/155456 "2018-11-05T21:00:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajisankar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajisankar/32/43250_2.png) [@rajisankar](https://discuss.elastic.co/u/rajisankar)\
**Post date:** [November 5, 2018, 9:00pm UTC](https://discuss.elastic.co/t/elasticsearch-document-size/155456/1 "2018-11-05T21:00:17Z")

</div>

Hi,

I know there has been multiple threads on finding size of a document in Elasticsearch. I have not found a conclusive answer for ELK 6.x.

For my benchmarking purposes, I would like to know the average size of documents stored in an index in Elasticsearch. I am using ELK 6.3. Previously, the size parameter was available but i do not see it in the latest versions.

Is there a way to find the average (or exact) size of document in an index in Elasticsearch?

Thanks,  
Raji

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 5, 2018, 9:11pm UTC](https://discuss.elastic.co/t/elasticsearch-document-size/155456/2 "2018-11-05T21:11:33Z")

</div>

If you want exact then see [https://www.elastic.co/guide/en/elasticsearch/plugins/current/mapper-size.html](https://www.elastic.co/guide/en/elasticsearch/plugins/current/mapper-size.html)

If you are ok with an average then just get the byte size of the index and then divide that by the number of documents.

---

<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:** [December 3, 2018, 9:24pm UTC](https://discuss.elastic.co/t/elasticsearch-document-size/155456/3 "2018-12-03T21:24:34Z")

</div>

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