Migrate Elasticsearch 5.x to 6.x
We want to migrate an pre 6.0.0 cluster to 6.x.x. Therefore we have to make sure every index contains only one mapping. The following snippets shows how to inspect the indices with default unix tools.
Required tools:
|
|
To decrease the load on the cluster we download the mappings of every index to /tmp/indices
.
|
|
Show the number of mappings for all indices:
|
|
Show the names of mappings in an index:
|
|