Could someone help me on how to automate the deletion the indices that are older than 3 months old.
Could you kindly help
Please be patient in waiting for responses to your question and refrain from pinging multiple times asking for a response or opening multiple topics for the same question. This is a community forum, it may take time for someone to reply to your question. For more information please refer to the Community Code of Conduct specifically the section "Be patient". Also, please refrain from pinging folks directly, this is a forum and anyone that participates might be able to assist you.
If you are in need of a service with an SLA that covers response times for questions then you may want to consider talking to us about a subscription.
It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.
Have a look at Index Lifecycle Management feature.
Otherwise run a script in a crontab.
Am new to this forum.
Im sorry for adding the tag in the first post itself.
Am also new to this elastic search.
And below is my requirement.
- Would like to list the indices that are older than 3 months (from the name of the indexes)
- Then delete them
Do you want to do that manually or use the built-in feature? If the later, start from ILM: Manage the index lifecycle | Elasticsearch Reference [7.11] | Elastic