Elasticsearch document size

(Raji Sankaran) #1


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?


(Mark Walkom) #2

If you want exact then see 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.

(system) #3

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