Migrating from date-suffixed curator managed indices to ISM managed data streams

Hi,

We’re in the process of migrating date-suffixed indices that are managed using curator from an Elasticsearch to an OpenSearch cluster. The obvious choice for us is to migrate to data streams managed by ISM at the same time. Our old curator is deleting indices that are older than 1 year.

The problem we’re facing is that once everything will be remote reindexed, we’ll end up with a bunch of indexes, the oldest of which will be at most the time it has taken to reindex everything. Setting up an ISM policy of e.g. min_index_age won’t work for a year, even for the oldest data.

Is it possible to override the index’ creation time for instance, so that we could align the document’s timestamp with the index age ?

Or is there another possibility for us to have ISM work as expected after the migration process?