Hi,
As the subject says, I need to find out the message size of a particular record, or the average size of a particular field in an index stored in Elasticsearch. Is it possible? If yes, how do I go about it?
Cheers,
Satish/
Hi,
As the subject says, I need to find out the message size of a particular record, or the average size of a particular field in an index stored in Elasticsearch. Is it possible? If yes, how do I go about it?
Cheers,
Satish/
We don't store this, you can figure the doc size out easily though.
Thanks for the reply @warkolm Do you mean the individual record size in an index? How do I get that?
Also coming in 2.0 https://www.elastic.co/guide/en/elasticsearch/plugins/2.0/mapper-size.html
But it gives that for the _source field.
Nice. Would that include the size of the content of _source (i.e. raw data) or the whole JSON that's in _source?
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Elasticsearch Consulting & Support * http://sematext.com/
I don't see what is the difference.
It will index the size of what you have in _source, so I assume "raw" data here?
@jpountz might tell more.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.