# ES 5.3 on AWS cloud. \_reindex got stopped after some docs

**URL:** <https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037>\
**Category:** Elasticsearch\
**Created:** [August 5, 2018, 12:11am UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037 "2018-08-05T00:11:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsrini](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@nsrini](https://discuss.elastic.co/u/nsrini)\
**Post date:** [August 5, 2018, 12:11am UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037/1 "2018-08-05T00:11:35Z")

</div>

Hi,  
I am running the following command from Kibana. I use ES 5.3 on AWS ES. My reindexing got stopped after around 80K documents. Why? How to troubleshoot this? I tried two times with different index name. It stopped at the same place.  
POST \_reindex  
{  
"source": {  
"index": "twitter"  
},  
"dest": {  
"index": "new\_twitter"  
}  
}

thanks  
Srini

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 5, 2018, 2:37am UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037/2 "2018-08-05T02:37:41Z")

</div>

Anything in logs?  
What gives

```
GET _cat/indices?v

```

BTW did you look at [https://www.elastic.co/cloud](https://www.elastic.co/cloud) and [https://aws.amazon.com/marketplace/pp/B01N6YCISK](https://aws.amazon.com/marketplace/pp/B01N6YCISK) ?

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL and what is coming like Canvas...

---

<div class="post-metadata">

**Author:** ![nsrini](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@nsrini](https://discuss.elastic.co/u/nsrini)\
**Post date:** [August 5, 2018, 4:25am UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037/3 "2018-08-05T04:25:01Z")

</div>

Hi David,  
Here is the output of \_cat/indices?v:

> **[2018-08-05\_0023](https://www.screencast.com/t/N0owLuZfuuTZ)**
>
> Shared from Screencast.com

I am trying to copy from aem6\_v6 to aem6\_v8.

thanks  
Srini

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 5, 2018, 6:37am UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037/4 "2018-08-05T06:37:45Z")

</div>

Are you using nested documents? What is the output of (please for small content just copy, paste and use the format button):

```
GET aem6_v6/_mapping
GET aem6_v6/_search?size=0
```

---

<div class="post-metadata">

**Author:** ![nsrini](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@nsrini](https://discuss.elastic.co/u/nsrini)\
**Post date:** [August 6, 2018, 2:35pm UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037/5 "2018-08-06T14:35:00Z")

</div>

Hi David,  
Yes, I have a nested. [https://screencast.com/t/5W64MwS6](https://screencast.com/t/5W64MwS6)

And

> **[2018-08-06\_1034](https://www.screencast.com/t/oXzluTEPp)**
>
> Shared from Screencast.com

thanks  
Srini

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 6, 2018, 2:48pm UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037/6 "2018-08-06T14:48:45Z")

</div>

Please don't use Screencast for that. Just use markdown style like:

````
```
CODE
```

````

What gives:

```auto
GET aem6_v8/_search?size=0

```

What are the logs saying?  
What is the output of the reindex API call?

---

<div class="post-metadata">

**Author:** ![nsrini](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@nsrini](https://discuss.elastic.co/u/nsrini)\
**Post date:** [August 6, 2018, 3:04pm UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037/7 "2018-08-06T15:04:10Z")

</div>

1. Output of aem6\_v8/\_search?size=0:

```auto
    {
    "took": 63,
    "timed_out": false,
    "_shards": {
    "total": 1,
    "successful": 1,
    "failed": 0
    },
    "hits": {
    "total": 88999,
    "max_score": 0,
    "hits": []
    }
    }

```

1. reindex API call output:  
Request failed to get to the server (status code: 504)
2. Logs? Where can I find the logs? In Cloudwatch?

thanks  
srini

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 6, 2018, 7:32pm UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037/8 "2018-08-06T19:32:03Z")

</div>

Logs? I don't know. May be ask AWS support.

FWIW with elastic cloud you could get the logs from the console and more than that ask the support team about your problem.

---

<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 3, 2018, 7:32pm UTC](https://discuss.elastic.co/t/es-5-3-on-aws-cloud-reindex-got-stopped-after-some-docs/143037/9 "2018-09-03T19:32:12Z")

</div>

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