Delete automatically One year old data from elastic search

Hi Team

I would like to automatically delete one year old data from Elastic Search, I didn't find any proper way.
Please anyone help out me.
Thanks!!

Welcome!

Are you using time based indices?
You can look at https://www.elastic.co/guide/en/elasticsearch/reference/current/index-lifecycle-management.html

Thank you.
Yes, I am using time based indices.

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