# How to add index to datastream manually?

**URL:** <https://discuss.elastic.co/t/how-to-add-index-to-datastream-manually/267043>\
**Category:** Elasticsearch\
**Tags:** datastreams\
**Created:** [March 12, 2021, 6:48am UTC](https://discuss.elastic.co/t/how-to-add-index-to-datastream-manually/267043 "2021-03-12T06:48:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoadingZhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loadingzhang/32/22391_2.png) [@LoadingZhang](https://discuss.elastic.co/u/LoadingZhang)\
**Post date:** [March 12, 2021, 6:48am UTC](https://discuss.elastic.co/t/how-to-add-index-to-datastream-manually/267043/1 "2021-03-12T06:48:22Z")

</div>

I use split api to an index which belong to a datastream, but the new index not set the datastream automatically.  
How can I set the new index let it belong to datastream?

---

<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:** [April 9, 2021, 6:48am UTC](https://discuss.elastic.co/t/how-to-add-index-to-datastream-manually/267043/2 "2021-04-09T06:48:30Z")

</div>

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