# How to read ealsticsearch as input in logstash only once

**URL:** <https://discuss.elastic.co/t/how-to-read-ealsticsearch-as-input-in-logstash-only-once/205236>\
**Category:** Logstash\
**Created:** [October 25, 2019, 10:36am UTC](https://discuss.elastic.co/t/how-to-read-ealsticsearch-as-input-in-logstash-only-once/205236 "2019-10-25T10:36:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunil\_Murali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunil_murali/32/44739_2.png) [@Sunil\_Murali](https://discuss.elastic.co/u/Sunil_Murali)\
**Post date:** [October 25, 2019, 10:36am UTC](https://discuss.elastic.co/t/how-to-read-ealsticsearch-as-input-in-logstash-only-once/205236/1 "2019-10-25T10:36:33Z")

</div>

Hi,  
Need to take the values from an elastic index\_1 through logstash then process it and insert it to another elastic index\_2. This is the process i am doing.  
But once the input read index\_1 and inserted to index\_2, the logstash repeats the process.  
So i do not want to repeat the process and want to only read the index\_1 once and insert to index\_2.  
Is there any way to do that ?  
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:** [November 22, 2019, 10:36am UTC](https://discuss.elastic.co/t/how-to-read-ealsticsearch-as-input-in-logstash-only-once/205236/2 "2019-11-22T10:36:36Z")

</div>

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