# Reindex from AWS Opensearch to Elasticsearch 7.17

**URL:** <https://discuss.elastic.co/t/reindex-from-aws-opensearch-to-elasticsearch-7-17/342067>\
**Category:** Elasticsearch\
**Created:** [August 31, 2023, 3:30pm UTC](https://discuss.elastic.co/t/reindex-from-aws-opensearch-to-elasticsearch-7-17/342067 "2023-08-31T15:30:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chuck\_Reynolds](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chuck_reynolds/32/103607_2.png) [@Chuck\_Reynolds](https://discuss.elastic.co/u/Chuck_Reynolds)\
**Post date:** [August 31, 2023, 3:30pm UTC](https://discuss.elastic.co/t/reindex-from-aws-opensearch-to-elasticsearch-7-17/342067/1 "2023-08-31T15:30:23Z")

</div>

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

```auto
{
  "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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 31, 2023, 3:30pm UTC](https://discuss.elastic.co/t/reindex-from-aws-opensearch-to-elasticsearch-7-17/342067/2 "2023-08-31T15:30:23Z")

</div>

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: )

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [August 31, 2023, 3:42pm UTC](https://discuss.elastic.co/t/reindex-from-aws-opensearch-to-elasticsearch-7-17/342067/3 "2023-08-31T15:42:02Z")

</div>

> [@Chuck\_Reynolds](#):
>
> Is it possible to reindex from AWS Opensearch to a non managed Elasticsearch?

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.

---

<div class="post-metadata">

**Author:** ![Chuck\_Reynolds](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chuck_reynolds/32/103607_2.png) [@Chuck\_Reynolds](https://discuss.elastic.co/u/Chuck_Reynolds)\
**Post date:** [August 31, 2023, 4:00pm UTC](https://discuss.elastic.co/t/reindex-from-aws-opensearch-to-elasticsearch-7-17/342067/4 "2023-08-31T16:00:55Z")

</div>

I'm not familiar with Logstash.

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 28, 2023, 4:01pm UTC](https://discuss.elastic.co/t/reindex-from-aws-opensearch-to-elasticsearch-7-17/342067/5 "2023-09-28T16:01:00Z")

</div>

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