How can I delete an index after one month automatically?

Hello everybody. I have a docker mounted elk stack server, which collects logs from various filebeats from other servers.

Every month, I start a new index pattern,and I would like to make the previous index pattern automatically delete so that it does not take up too much space. Does anyone know how to do it? I'm not very familiar with the dev tools, just in case they are related

Regards, and thank you very much

The tool you are looking for is called ILM (Index lifecycle management): ILM: Manage the index lifecycle | Elasticsearch Guide [7.12] | Elastic

1 Like

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