I run remote reindex in elastic version 5.2 to target remote elastic server with version 6.5.4.
This is the command i run in kibana console:
POST _reindex
{
"source": {
"remote": {
"host": "http://172.16.xx.xx:9200"
},
"index": "test_source"
},
"dest": {
"index": "test_reindex"
}
}
This error is returned:
{
"error": {
"root_cause": [
{
"type": "status_exception",
"reason": "body={"error":"Content-Type header [text/plain; charset=ISO-8859-1] is not supported","status":406}"
}
],
"type": "status_exception",
"reason": "body={"error":"Content-Type header [text/plain; charset=ISO-8859-1] is not supported","status":406}",
"caused_by": {
"type": "response_exception",
"reason": "POST http://172.16.xx.xx:9200/_search/scroll?scroll=5m: HTTP/1.1 406 Not Acceptable\n{"error":"Content-Type header [text/plain; charset=ISO-8859-1] is not supported","status":406}"
}
},
"status": 406
}
Is this elastic version 5.2 problem? Your help is greatly appreciated! Thanks!
