# Re-Index data from elasticsearch back to another elasticsearch using Logstash

**URL:** <https://discuss.elastic.co/t/re-index-data-from-elasticsearch-back-to-another-elasticsearch-using-logstash/169217>\
**Category:** Logstash\
**Created:** [February 20, 2019, 1:14pm UTC](https://discuss.elastic.co/t/re-index-data-from-elasticsearch-back-to-another-elasticsearch-using-logstash/169217 "2019-02-20T13:14:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manikandanid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manikandanid/32/91013_2.png) [@manikandanid](https://discuss.elastic.co/u/manikandanid)\
**Post date:** [February 20, 2019, 1:14pm UTC](https://discuss.elastic.co/t/re-index-data-from-elasticsearch-back-to-another-elasticsearch-using-logstash/169217/1 "2019-02-20T13:14:38Z")

</div>

Want to use logstash to query ES for every 5 min and the output should be sent to another index in ES. How to implement this using elasticsearch input plugin. Have to use scroll so that querying large data shouln't impact existing application and query shouldn't timeout. Any sample on how to do this will help out. Thanks in advance.

---

<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:** [March 20, 2019, 1:18pm UTC](https://discuss.elastic.co/t/re-index-data-from-elasticsearch-back-to-another-elasticsearch-using-logstash/169217/2 "2019-03-20T13:18:42Z")

</div>

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