Answer the question
In order to leave comments, you need to log in
How to correctly transfer an index from one cluster to another?
Hello.
target cluster version - 6.2.4
source cluster version - 5.4.1
OS CentOs 7
How to transfer an index from one cluster to another?
Tried elasticdump
elasticdump --input=http://server01:9200/iX966c6zRQOSjnZdm9zEEA --output=http://server02:9200/iX966c6zRQOSjnZdm9zEEA --type=mapping
elasticdump --input=http://server01:9200/kafka-broker-2017.07 --output=http://server02:9200/kafka-broker-2017.07 --type=mapping
Mon, 06 Aug 2018 20:18:09 GMT | starting dump
Mon, 06 Aug 2018 20:18:09 GMT | got 1 objects from source elasticsearch (offset: 0)
Mon, 06 Aug 2018 20:18:09 GMT | Error Emitted => "Content-Type header [] is not supported"
Mon, 06 Aug 2018 20:18:09 GMT | Total Writes: 0
Mon, 06 Aug 2018 20:18:09 GMT | dump ended with error (set phase) => Content-Type header [] is not supported
elasticdump --input=http://server01:9200/kafka-broker-2017.07 --output=http://server02:9200/kafka-broker-2017.07 --type=data
Mon, 06 Aug 2018 20:19:49 GMT | starting dump
Mon, 06 Aug 2018 20:19:49 GMT | Error Emitted => {"error":{"root_cause":[{"type":"parsing_exception","reason":"The field [fields] is no longer supported, please use [stored_fields] to retrieve stored fields or _source filtering if the field is not stored","line":1,"col":36}],"type":"parsing_exception","reason":"The field [fields] is no longer supported, please use [stored_fields] to retrieve stored fields or _source filtering if the field is not stored","line":1,"col":36},"status":400}
Mon, 06 Aug 2018 20:19:49 GMT | Total Writes: 0
Mon, 06 Aug 2018 20:19:49 GMT | dump ended with error (get phase) => Error: {"error":{"root_cause":[{"type":"parsing_exception","reason":"The field [fields] is no longer supported, please use [stored_fields] to retrieve stored fields or _source filtering if the field is not stored","line":1,"col":36}],"type":"parsing_exception","reason":"The field [fields] is no longer supported, please use [stored_fields] to retrieve stored fields or _source filtering if the field is not stored","line":1,"col":36},"status":400}
Answer the question
In order to leave comments, you need to log in
Try regular means to reindex from a remote cluster https://www.elastic.co/guide/en/elasticsearch/refe...
The second option is to use snapshots - https://www.elastic.co/guide/en/elasticsearch/refe ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question