# Largest and average doc size in elasticsearch

**URL:** <https://discuss.elastic.co/t/largest-and-average-doc-size-in-elasticsearch/28388>\
**Category:** Elasticsearch\
**Created:** [August 31, 2015, 9:41pm UTC](https://discuss.elastic.co/t/largest-and-average-doc-size-in-elasticsearch/28388 "2015-08-31T21:41:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![allenmchan](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@allenmchan](https://discuss.elastic.co/u/allenmchan)\
**Post date:** [August 31, 2015, 9:41pm UTC](https://discuss.elastic.co/t/largest-and-average-doc-size-in-elasticsearch/28388/1 "2015-08-31T21:41:03Z")

</div>

I am considering to move to a different broker for logstash. One of the metrics needed to size the cluster is largest and average doc size. Does Elasticsearch keep track of this? Am i able to query this out of elasticsearch?

Thanks

---

<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:** [September 1, 2015, 6:20am UTC](https://discuss.elastic.co/t/largest-and-average-doc-size-in-elasticsearch/28388/2 "2015-09-01T06:20:08Z")

</div>

You need to calculate this yourself, there's nothing native in ES.

---

<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 5, 2017, 11:52pm UTC](https://discuss.elastic.co/t/largest-and-average-doc-size-in-elasticsearch/28388/3 "2017-07-05T23:52:59Z")

</div>


