Hi,
We have the following requirement:
Every month a new index(collection) have to be created: comany_details-<year_month> in ES cluster.
We need to delete older index which is greater than 2 Months.
Example:
company_details-2019-12 (delete this index)
company_details-2020-01 (retain this index)
company_details-2020-02 (retain this index)
We could create an alias company_details and point it to the current Month index (so that we could do indexing/querying). This also have to be updated every Month automatically.
How can we setup ES so that this would be done automatically?
Thanks,
Somebody.