Hello,
Our indexes look like “entity-yyyy-mm” where yyyy is year and mm is month. The application implements multi tenancy, so every document has a field tenantId. Tenant is not a part of index name, so many tenants share the same index.
I need to implement a retention policy for tenants data: every tenant should be able to define how long we keep its data (in days).
I was looking into Index State Management, but it works on index level and will not allow to drop only a subset of documents. I need a retention policy that would work on a document level.
Is there anything that I can use to implement this?
Thank You