Migration from 5.x to 8.x

I am new here, I am trying to migrate from elastic 5.x to 8.x. I have a couple indexes including parent child relation as well.can anyone provide guidance on where to start ? I have created separate indexes from exisitng ones with more than one type.

Thank you in advance.

Welcome!

Parent/child has been replaced by the join field type. See

HTH

Here is the official upgrade doc: Upgrade Elasticsearch | Elasticsearch Guide [7.17] | Elastic

You have two options in here:

  1. Upgrade one major version at once. Eg, Upgrade from 5.x to 6.8, reindex all the indices. Upgrade from 6.8 to 7.17.26, reindex all the indices and upgrade to 8.x.
  2. Use Logstash or create a third party ingest pipeline that can read from the old elasticsearch and index into the new elasticsearch.

Note: For rolling upgrades between major versions (e.g., 5.6 to 6.8), it's recommend using the Kibana Upgrade Assistant.