# Elasticsearch input plugin - not pulling new records

**URL:** <https://discuss.elastic.co/t/elasticsearch-input-plugin-not-pulling-new-records/92692>\
**Category:** Logstash\
**Created:** [July 11, 2017, 4:02pm UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-not-pulling-new-records/92692 "2017-07-11T16:02:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbucknel](https://avatars.discourse-cdn.com/v4/letter/m/ec9cab/32.png) [@mbucknel](https://discuss.elastic.co/u/mbucknel)\
**Post date:** [July 11, 2017, 4:02pm UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-not-pulling-new-records/92692/1 "2017-07-11T16:02:23Z")

</div>

I am using the Elasticsearch input plugin, to grab data from an elasticseach index and then use it for a translation filter, it queries elasticseach, then wtites out a file in YAML format with the translation pairs.  
This is so i can have a centralised translation table, that is automatically distributed to all of the logstash instances.

It works well, but when additional records are added to the elastic index, these are not picked up by the input plugin.

Am i missing something ? or is there a way to re-trigger the query ?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 12, 2017, 7:10pm UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-not-pulling-new-records/92692/2 "2017-07-12T19:10:46Z")

</div>

I think the elasticsearch input only makes the query once (upon Logstash startup).

---

<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:** [August 9, 2017, 7:11pm UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-not-pulling-new-records/92692/3 "2017-08-09T19:11:12Z")

</div>

Closed on August 9, 2017, 7:11pm UTC

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