Reindex from AWS Opensearch to Elasticsearch 7.17

I'm trying to reindex from AWS OPensearch to Elasticsearch 7.17 but I get the following error.

{
  "error" : {
    "root_cause" : [
      {
        "type" : "status_exception",
        "reason" : "body={\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"No search type for [scan]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"No search type for [scan]\"},\"status\":400}"
      }
    ],
    "type" : "status_exception",
    "reason" : "body={\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"No search type for [scan]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"No search type for [scan]\"},\"status\":400}",
    "caused_by" : {
      "type" : "response_exception",
      "reason" : "method [POST], host [https://XXX-XX-XXXXX-XXXXXXXXXXXXXXXXXXXXXXX.us-east-X.XX.amazonaws.com:443], URI [/gcom_ftm/_search?scroll=300000ms&size=1000&fields=_parent%2C_routing%2C_ttl&version=false&search_type=scan], status line [HTTP/1.1 400 Bad Request]\n{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"No search type for [scan]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"No search type for [scan]\"},\"status\":400}"
    }
  },
  "status" : 400
}

Is it possible to reindex from AWS Opensearch to a non managed Elasticsearch?

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

I don't think this is possible, Opensearch and Elasticsearch are not compatible with each other.

You won't be able to use the reindex API, but you may be able to index the data from your Opensearch into an Elasticsearch if you use Logstash.

I'm not familiar with Logstash.

Could you give me a high level of how this might work?

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