We have a bunch of daily indices matched by the index pattern
lambda-2020-02-02. We want to start using a size-based ilm rollover policy but we don't want to break our existing visualisations etc.
Is it possible for us to set up an index alias
lambda and reindex the old date-based indexes onto the new alias?
Our plan is to modify the existing template with the new policy. What will happen?
Our expectation is that we can continue to write date-based indexes so long as they don't exceed the max age/size of the ilm policy. And then that'll give us the ability to reindex in the background and modify ingestion as a final step.
Our current plan:
Day 1: we ingest into
Day 2: we update the
lambda-* template with the new policy and ingest into
At this point,
lambda-2020-01-01 has no ILM policy,
lambda-2020-01-02 has the new policy attached. We also bootstrap
Day 3: we ingest into
lambda-2020-01-03 and also reindex
lambda (which would write into the bootstrapped
Day 4: we switch ingestion to
lambda and then reindex
Day 5: ingestion continues to
lambda and we are finished migrating
Are we missing any subtleties that would stop this from working?