Reindex data from local to Server?

I am trying to send index npb_bro to my server. But I am getting error. Below is my query

POST _reindex
{
  "source": {
    "remote": {
      "host": "http://192.168.216.192:1992",
      "username": "xxxx",
      "password": "xxxxxxxx"
    },
    "index": "nbp_bro",
    "query":
      {
        "match_all": {}
      }
  },
  "dest": {
    "index": "nbp_bro"
  }
}

Reindex pulls from a remote cluster, it does not push.

1 Like