# Reindex API not working as expected from remote

**URL:** <https://discuss.elastic.co/t/reindex-api-not-working-as-expected-from-remote/196963>\
**Category:** Elasticsearch\
**Created:** [August 27, 2019, 2:12pm UTC](https://discuss.elastic.co/t/reindex-api-not-working-as-expected-from-remote/196963 "2019-08-27T14:12:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_greg](https://avatars.discourse-cdn.com/v4/letter/_/47e85d/32.png) [@\_greg](https://discuss.elastic.co/u/_greg)\
**Post date:** [August 27, 2019, 2:12pm UTC](https://discuss.elastic.co/t/reindex-api-not-working-as-expected-from-remote/196963/1 "2019-08-27T14:12:45Z")

</div>

Hi,

I want to reindex my daily indices into one 'master index'.  
When I execute the following command from the Dev Tools in Kibana in the Elastic Cloud, it's working like expected:

```auto
POST _reindex
{
  "source": {
    "index": "index-2019.08.*"
  },
  "dest": {
    "index": "index-all"
  }
}
```

All fields are copied to the new index.

However, when I try the same over curl from remote or with curator, the request succeeds but the dest index only contains following fields:

```auto
_id
_index
_score
_source
_type
```

How can I reindex all fields with curator or over curl?

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [August 27, 2019, 6:36pm UTC](https://discuss.elastic.co/t/reindex-api-not-working-as-expected-from-remote/196963/2 "2019-08-27T18:36:05Z")

</div>

Given that the reindex command works in the dev tools, I suspect this is a stack question not a cloud question, I'm going to move it there. Apologies in advance if there is a cloud subtlety I'm missing and it ends back here 🙂

---

<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 10, 2019, 6:36pm UTC](https://discuss.elastic.co/t/reindex-api-not-working-as-expected-from-remote/196963/3 "2019-09-10T18:36:06Z")

</div>

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