# Reindex to data streams

**URL:** <https://discuss.elastic.co/t/reindex-to-data-streams/313818>\
**Category:** Elasticsearch\
**Created:** [September 6, 2022, 6:22pm UTC](https://discuss.elastic.co/t/reindex-to-data-streams/313818 "2022-09-06T18:22:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carrot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carrot/32/44335_2.png) [@carrot](https://discuss.elastic.co/u/carrot)\
**Post date:** [September 6, 2022, 6:22pm UTC](https://discuss.elastic.co/t/reindex-to-data-streams/313818/1 "2022-09-06T18:22:05Z")

</div>

I'm using the following to reindex to a data stream, although it completes right way... The source index has 262394 documents.

```auto
POST _reindex
{
  "source": {
    "index": "syslog-prod-2021.09.07"
  },
  "dest": {
    "index": "syslog-prod",
    "op_type": "create"
  }
}

```

Results:

```auto
{
  "took" : 3,
  "timed_out" : false,
  "total" : 0,
  "updated" : 0,
  "created" : 0,
  "deleted" : 0,
  "batches" : 0,
  "version_conflicts" : 0,
  "noops" : 0,
  "retries" : {
    "bulk" : 0,
    "search" : 0
  },
  "throttled_millis" : 0,
  "requests_per_second" : -1.0,
  "throttled_until_millis" : 0,
  "failures" : []
}

```

And the logs:

```auto
[2022-09-06T18:02:38,442][INFO][org.elasticsearch.tasks.LoggingTaskListener] [instance-0000000103] 23729349 finished with response BulkByScrollResponse[took=3.7ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]

```

I can reindex no problem with other indexes (not data streams).

Elastic version is 7.13.4

Thanks,

---

<div class="post-metadata">

**Author:** ![carrot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carrot/32/44335_2.png) [@carrot](https://discuss.elastic.co/u/carrot)\
**Post date:** [September 6, 2022, 6:51pm UTC](https://discuss.elastic.co/t/reindex-to-data-streams/313818/2 "2022-09-06T18:51:41Z")

</div>

Fixed. The index was frozen.

---

<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:** [October 4, 2022, 6:52pm UTC](https://discuss.elastic.co/t/reindex-to-data-streams/313818/3 "2022-10-04T18:52:03Z")

</div>

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