I was using elastic search 1.5 and now needs to migrate to 5.5. However, there's no direct way supported by AWS. I'm using cloud watch streaming support for an elastic search to feed events.
Now only the new events get feed into elastic search. I'm thinking of following steps to migrate.
- Create a new ES domain with 5.5.
- Do a onetime import of existing logs.
- Change the ES domain endpoint in the lambda function to point to the new ES domain.
- Drop the old ES domain.
Is there a way to achieve step 2 in the process? Or is there any better way of achieving this migration?