Maintain only days worth of data in elastic search

Hello,

I use. Filebeat >> Logstash >> Elastic search >> Kibana. for my log analysis.
I am going to use this on daily basis so that from Client and Server data will be exported to ELK Server.

In this case every day tons of data will be poured in to ELK Server
But I want to maintain only few days worth of data in elastic search. Say for example 10 days worth of data.

How can I do that? is there any configuration in Elastic search to delete data beyond 10 day?
Is there any configuration to get rid of older data to free the disk space?

Thanks
Fredrick

Look into Elasticsearch Curator

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