Index migration from one elasticsearch cluster to another

I would like to copy/move indexA from ES cluster A to ES cluster B.

Is it possible to do that? I am using free version.

Some ideas:

  • snapshot / restore
  • reindex from remote

Hope this helps

As @dadoonet says, you canuse reindex from remote

Reindex supports reindexing from a remote Elasticsearch cluster

Example :

POST _reindex
{
  "source": {
    "remote": {
      "host": "http://otherhost:9200",
      "username": "user",
      "password": "pass"
    },
    "index": "my-index-000001",
    "query": {
      "match": {
        "test": "data"
      }
    }
  },
  "dest": {
    "index": "my-new-index-000001"
  }
}

make sure that the network flow is open between the two clusters

Big thx