# Ingesting only new documents from Elasticsearch

**URL:** <https://discuss.elastic.co/t/ingesting-only-new-documents-from-elasticsearch/200520>\
**Category:** Logstash\
**Created:** [September 21, 2019, 8:50am UTC](https://discuss.elastic.co/t/ingesting-only-new-documents-from-elasticsearch/200520 "2019-09-21T08:50:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eebee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eebee/32/26799_2.png) [@eebee](https://discuss.elastic.co/u/eebee)\
**Post date:** [September 21, 2019, 8:50am UTC](https://discuss.elastic.co/t/ingesting-only-new-documents-from-elasticsearch/200520/1 "2019-09-21T08:50:30Z")

</div>

I'm using the elasticsearch input plugin to get documents from another elasticsearch instance. Then the elasticsearch output plugin to ingest it in another instance.

But how do I schedule/filter the plugins/pipeline, so that I only search for and ingest new documents?

---

<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:** [October 19, 2019, 8:50am UTC](https://discuss.elastic.co/t/ingesting-only-new-documents-from-elasticsearch/200520/2 "2019-10-19T08:50:32Z")

</div>

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