How to get average document size in an index?

HI,

I am using Elastic Stack v6.3.0. I have multiple indices. Is is possible to get average document size (the size of a single entry in an index) of a particular index?

Thank you

Total size of the index divided by document count, the _cat/index API will give you both those :slight_smile:

If you are looking for the size or the source JSON documents you may need to install the mapper size plugin so you can get this through aggregations.

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