How to transfer elastic index created in local machine to elastic cloud?

I have an index created in locally setup elasticsearch and I want to transfer that index on the elastic cloud. How can I do that?

Hey @Lakshay_Arora,

Please note this forum is meant to discuss Elastic Cloud Enterprise (ECE), which is another product. For future question please see https://www.elastic.co/cloud/as-a-service/support 58 for Elastic Cloud support.

Reagrding your question, one option is to use remote reindex, in order to migrate existing index to a cluster hosted in Elastic Cloud.

HTH.

@zanbel Thanks for your help,
I have tried remote indexing but I got this error :
{
"error": {
"root_cause": [
{
"type": "connect_exception",
"reason": "Connection refused"
}
],
"type": "connect_exception",
"reason": "Connection refused"
},
"status": 500
}

my elasticsearch.yml file has only this line

reindex.remote.whitelist: ["localhost:9200"]

and I am doing reindexing like this :

POST _reindex
{
"source": {
"remote": {
"host": "http://localhost:9200"
},
"index": "datazomato",
"query": {
"match_all": {}
}
},
"dest": {
"index": "datazomato"
}
}

Can you tell me what I am doing wrong?

@Lakshay_Arora can you please follow instructions in the following link https://www.elastic.co/cloud/as-a-service/support and order a support case.
This forum is meant to discuss Elastic Cloud Enterprise, which is another product.

Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.