how is the best and easiest way to delete indices based upon its name and age?
For example we have multiple indices:
In the past we used curator to delete the indices within Open Distro via a rule:
This rule was working as expected. The latest curator is not working anymore with the latest OpenSearch version: “Unable to connect to Elasticsearch cluster. Error: The client noticed that the server is not Elasticsearch and we do not support this unknown product”. So i take a close look at the OpenSearch documentation Policies - OpenSearch documentation
So my question is, what is the best/simplest way to delete those indices? The requirements are simple and not complex (without hot/cold state and so on…). The expamples in the documentation are little bit to much.
Another way which can be found is Using Curator to rotate data in Amazon OpenSearch Service - Amazon OpenSearch Service (successor to Amazon Elasticsearch Service) but as far as i can see it, this is deprecated.