Hi, I'm fairly new to ES, and would appreciate any help!
I've attempted to follow the two different ways to migrate data that was stated in https://www.elastic.co/guide/en/cloud/current/ec-migrate-data.html
However, I'm facing issues with both. With the reindexing from a remote cluster, i added reindex.remote.whitelist: localhost:* , to the remote host elasticsearch.yml. And then I ran the following code on my new azure es host:
POST _reindex
{
"source": {
"remote": {
"host": "http://localhost:5601"
},
"index": "xxx",
"query": {
"match_all": {}
}
},
"dest": {
"index": "xxx"
}
}
However, I get this error: Response didn't include Content-Type: body=var hashRoute = '/app/kibana';\nvar defaultRoute = '/app/kibana';\n\nvar hash = window.location.hash.....
I then tried the snapshot method, on the localhost I ran:
PUT /_snapshot/my_backup
{
"type": "fs",
"settings": {
"location": "my_backup",
"compress": "true"
}
}
With the path included in the local host .yml. The get command runs fine on the new snapshot. But, I get repository errors on the remote host when i try to use PUT, to migrate the data.
My remote host is on the azure portal, but I can't do anything until I transfer the work done on my local computer. Any help would be appreciated!
Thank you.