Can I reindex old indexes to a new schema so as not to lose any information?

I just found out from our development group that they are going to be changing the schema of our Elasticsearch indexes specifically changing property names to better align with what they are doing.

They'll be keeping the same log data just changing the property names. That means we will have legacy indexes that will no longer be usable by a UI developed for our Customer Support team.

Examples:
myPayload => payload
myTime => time
myIP => ip

The UI will be changed to use the new property names but would like to know if there is a way to reindex old legacy indexes to the new schema mapping so that CS doesn't have to come to us everytime they need log information.

TIA,
Bill Youngman

you can use the reindex API indeed or you can also have a look at field aliases: https://www.elastic.co/blog/introducing-field-aliases-in-elasticsearch

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.