Getting invalid host while reindexing in aws opensearch

264 Views Asked by At

I've two domains of Elastic search v 7.7, hosted under same VPC. I'm trying to reindex data between two domain by following steps mentioned in aws doc reindex. But getting below error


  "error" : {
    "root_cause" : [
      {
        "type" : "illegal_argument_exception",
        "reason" : "Invalid remote host:[.......]"
      }
    ],
    "type" : "illegal_argument_exception",
    "reason" : "Invalid remote host:[.....]"
  },
  "status" : 400
}

Request I'm executing on KIBANA

POST _reindex?pretty=true
{
   "source":{
      "remote":{
         "host":"https://endpoint:443",
          "socket_timeout": "60m"
      },
      "index":"uiauto-2018071611"
   },
   "dest":{
      "index":"uiauto-2018071611"
   }
}
0

There are 0 best solutions below