# Elasticsearch input plugin tracking timestamp

**URL:** <https://discuss.elastic.co/t/elasticsearch-input-plugin-tracking-timestamp/216790>\
**Category:** Logstash\
**Created:** [January 28, 2020, 9:16am UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-tracking-timestamp/216790 "2020-01-28T09:16:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattiacareddu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattiacareddu/32/60917_2.png) [@mattiacareddu](https://discuss.elastic.co/u/mattiacareddu)\
**Post date:** [January 28, 2020, 9:16am UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-tracking-timestamp/216790/1 "2020-01-28T09:16:47Z")

</div>

Hi everyone.  
I need to use elasticsearch as input plugin for my logstash configuration. I also need to schedule it ever n minutes and I want to track the timestamp in order to get from the query only the documents I haven't alredy got. I need something like the tracking column and the :sql\_last\_value for the jdbc input plugin but I can't find anything like this in the documentation.

Any suggestion?

---

<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:** [February 25, 2020, 9:16am UTC](https://discuss.elastic.co/t/elasticsearch-input-plugin-tracking-timestamp/216790/2 "2020-02-25T09:16:48Z")

</div>

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