# Need to reindex data collected from querying the current ES index

**URL:** <https://discuss.elastic.co/t/need-to-reindex-data-collected-from-querying-the-current-es-index/111991>\
**Category:** Elasticsearch\
**Created:** [December 15, 2017, 1:26pm UTC](https://discuss.elastic.co/t/need-to-reindex-data-collected-from-querying-the-current-es-index/111991 "2017-12-15T13:26:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shubham\_Mahajan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shubham_mahajan/32/22140_2.png) [@Shubham\_Mahajan](https://discuss.elastic.co/u/Shubham_Mahajan)\
**Post date:** [December 15, 2017, 1:26pm UTC](https://discuss.elastic.co/t/need-to-reindex-data-collected-from-querying-the-current-es-index/111991/1 "2017-12-15T13:26:04Z")

</div>

Hi everyone

I am trying to implement statistical anomaly detector in my ES cluster based on the below blog.

[https://www.elastic.co/blog/implementing-a-statistical-anomaly-detector-part-13](https://www.elastic.co/blog/implementing-a-statistical-anomaly-detector-part-13)..

I am having queries regarding how to reindex the values that I am getting from hitting the aggregation query in ES.

How do i get those values and pass them to a new index.

Please point me in the right direction.

---

<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:** [January 12, 2018, 1:26pm UTC](https://discuss.elastic.co/t/need-to-reindex-data-collected-from-querying-the-current-es-index/111991/2 "2018-01-12T13:26:10Z")

</div>

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