How can I compress my elasticsearch logs data?

Hi there, I'm new in elasticsearch and I have an issue. I created 2 indexes "test1" and "test2" to test log storage in elasticsaerch, I used this for test1, and default for test2:

PUT /test1/_settings
{"index":{"codec":"best_compression"}}

and then I used logstash and pushed the same log data for two indexes to elasticsearch, but the issue is test1 and test2 I see in elasticsearch monitoring have the same size 4MB storage size. Please help me, I got stuck in this situation.

You need to push much more data to see a difference IMO

Have a look at this blog post.

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