# Using the Elasticsearch Input Plugin on Active Indices

**URL:** <https://discuss.elastic.co/t/using-the-elasticsearch-input-plugin-on-active-indices/53194>\
**Category:** Elasticsearch\
**Created:** [June 17, 2016, 9:33pm UTC](https://discuss.elastic.co/t/using-the-elasticsearch-input-plugin-on-active-indices/53194 "2016-06-17T21:33:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxwell\_Flanders](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@Maxwell\_Flanders](https://discuss.elastic.co/u/Maxwell_Flanders)\
**Post date:** [June 17, 2016, 9:33pm UTC](https://discuss.elastic.co/t/using-the-elasticsearch-input-plugin-on-active-indices/53194/1 "2016-06-17T21:33:58Z")

</div>

Hi there, so I am in a situation in which I need to process data which is only made available to me in an elasticsearch index. I was thinking about using an elasticsearch input --(process data as desired in logstash)--\>elasticsearch output (in a new index).

However how will this react on an active index?? My ideal situation would be to have a continuous flow of some kind where as soon as data is added to index1, it is read, processed, and saved in index2. Is there a way to accomplish this??

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 17, 2016, 10:11pm UTC](https://discuss.elastic.co/t/using-the-elasticsearch-input-plugin-on-active-indices/53194/2 "2016-06-17T22:11:45Z")

</div>

I assume you are talking about Logstash here?  
That input only does a single read, it doesn't reconnect every N seconds and read newer data.

You may need to build something for this use case.

---

<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:** [July 5, 2017, 10:42pm UTC](https://discuss.elastic.co/t/using-the-elasticsearch-input-plugin-on-active-indices/53194/3 "2017-07-05T22:42:37Z")

</div>

Closed on July 5, 2017, 10:42pm UTC


