# ElasticSearch Input Plugin - Pipeline has terminated

**URL:** https://discuss.elastic.co/t/elasticsearch-input-plugin-pipeline-has-terminated/171805
**Category:** Logstash
**Created:** [March 11, 2019, 4:22pm UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-pipeline-has-terminated/171805 "2019-03-11T16:22:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Anabella\_Cristaldi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anabella_cristaldi/32/23612_2.png) [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)
#### Post date: [March 11, 2019, 4:22pm UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-pipeline-has-terminated/171805/1 "2019-03-11T16:22:01Z")

</div>

Hi,  
I'm using ES input plugin in order to fetch data from one index, enrich/process the data and ingest the data in a new index.  
I found that the pipeline of the LS config using the ES plugin is started and once the query is executed that pipeline is terminated.  
Is this the expected behavior?  
What can I do in order to "keep alive" that pipeline?  
I need to continuously query ES with the input plugin

Thank you very much in advance  
Regards  
Ana

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [March 11, 2019, 4:32pm UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-pipeline-has-terminated/171805/2 "2019-03-11T16:32:40Z")

</div>

> [@Anabella\_Cristaldi](#):
>
> What can I do in order to "keep alive" that pipeline?  
> I need to continuously query ES with the input plugin

Use a [schedule](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-elasticsearch.html#_scheduling)?

---

<div class="post-metadata">

### Author: ![Anabella\_Cristaldi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anabella_cristaldi/32/23612_2.png) [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)
#### Post date: [March 11, 2019, 5:18pm UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-pipeline-has-terminated/171805/3 "2019-03-11T17:18:48Z")

</div>

Thank you @Badger  
I realize of the schedule option after posting

That solved my problem  
Regards  
Ana

---

<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 8, 2019, 5:18pm UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-pipeline-has-terminated/171805/4 "2019-04-08T17:18:49Z")

</div>

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