Clean logs after 7 days


I have installed EK on one server, Logstash on another server, Filebeat on destination server.

All server like File, Email, Web server logs are generated daily which are tailing using filebeat to logstash followed by elastic search.

After parsing logs from filebeat server to elastic search, after every 7 days i would like to archive logs to s3 from elastic search, how to achieve it ?


You need to start with the S3 Repository plugin. Its well documented on how to setup permissions and create the repository.

Once you get started you should checkout Curator to help automate the process.

Good Luck!!

1 Like

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