How to compress data automatically?

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

Check about the index life cycle in Kibana here you can create a rule to delete depends on different rules:

Or rollup:

There's also curator:

Firstly I'd probably use only one shard per index.
Then you can change compression without reindexing. See

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