Data retention

Hello!

I've successfully configured a Debian-based Elasticsearch cluster with three nodes. Everything is functioning well. Currently, I need guidance on activating a data retention period of three months. Can you provide instructions on configuring data retention?

Many thanks in advance

Hi @admin365,
to configure data retention you should use ILM (Index Lifecycle Managment).
Here the guide.

Tell me if you need more help

Hello,

I require guidance on configuring retention, specifically for data nodes. In my cluster, there are only two data nodes, and one dedicated to master voting only. Additionally, Kibana is installed on the same machine as the voting-only node. I'm unsure if there are specific configurations that should be applied exclusively to the two Debian nodes. What are your thoughts on this?

Hello!

I tried to configure the policy and the index template but it doesn't work.
can someone assist on how to activate data retention

Are you using data streams or some other type of time-based indices?

Please show what your indices look like and what you have tried. It also usually helps to tell us which version of Elasticsearch you are using.

Hello ! i have tried to do the following:



i am using the latest version of elasticsearch.

Many thanks in advance

You did not provide any information about the data or the indices you have in the system.

How do you know you have a problem here if the 3 month retention limit has not been reached yet by any indices?

The problem is when i try to run the script , i receive the curl 52 error

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