How to compress data automatically?

I have very huge data very day,I have to delete manually. how to automate data compression elasticsearch?

Hi,
Check about the index life cycle in Kibana here you can create a rule to delete depends on different rules:
https://www.elastic.co/guide/en/elasticsearch/reference/current/index-lifecycle-management.html

Or rollup: https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html

There's also curator:
https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html

Firstly I'd probably use only one shard per index.
Then you can change compression without reindexing. See https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#index-codec

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