When I check the index stats, both size_in_bytes and total_data_set_size_in_bytes are the same, indicating that the compression has not been successful. Can anyone suggest what might be wrong with my configuration? Thank you.
The compression configuration in the Elastic Agent that you mentioned is related to the compression of the request that will be sent to Elasticsearch, it has no influence in the compression of the data in Elasticsearch itself after it is indexed.
The compressions of the data in Elasticsearch is managed by a setting on the index template named index.codec, there are 2 options default and best_compression.
Since you are using Elastic Agent and its integrations, the compression is already set to best_compression.
Thank you for your response. I have checked the index template and confirmed that it is set to best_compression. However, the values for both size_in_bytes and total_data_set_size_in_bytes remain the same.
How can I determine whether the compression has been successful or not?
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.