How to auto delete the old data

We want use LEK for the application log search.

But there are two question I don't find answer in the docs.

1, We just need search the log which generate in 30 days, How can I setting in the config file?
2, How to config the ES to store data in compress model?


All data in Elasticsearch is compressed by default.

Try Elasticsearch Curator for index retention.

1 Like