How to auto delete the old data


(Julian Zhang) #1

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?

thanks


(Aaron Mildenstein) #2

All data in Elasticsearch is compressed by default.

Try Elasticsearch Curator for index retention.

https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html


(system) #3