Migrate Elastic indexes betwewn v6 and v8

Hello,

I currently have a Stack ELK with version 6.x of Elastic whose data we want I have to migrate to v8.x. I want to migrate only the indexes. With dumps I have seen that it is impossible to do it directly without going through v7. What would be the best way to do it?

I had thought of creating a logstash pipeline between the two Elastic clusters, is this feasible in these versions?

Thank you very much.

Have you looked into reindexing the data from the remote cluster using the reindex API?

1 Like

Is this now effectively a static data set, i.e. the indices are what they are, and not changing. There is no further ingest on the 6.x cluster ?

1 Like

yes, they are static data.

I did not know this solution, it looks good, thank you very much!

I would like to add more information for completeness and ask for guidance on using the reindexing API. The source elastic is on on-premise machines (v6) but the target elastic is on kubernetes(v8). Is there any way to easily configure SSL for this scenario? Any additional advice?

security risks/decisions are yours, but I used

reindex.ssl.verification_mode: none

in my elasticsearch.yml on the destination side when faced with a similar issue, noting also the reindex.remote.whitelist setting needed set. And I didn't got v6-->v8, in fact went v9-->v8, and nothing left my home LAN. YMMV.