# Is it possible to get the records from last run time to now

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-get-the-records-from-last-run-time-to-now/139094>\
**Category:** Logstash\
**Created:** [July 9, 2018, 7:04am UTC](https://discuss.elastic.co/t/is-it-possible-to-get-the-records-from-last-run-time-to-now/139094 "2018-07-09T07:04:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 9, 2018, 7:04am UTC](https://discuss.elastic.co/t/is-it-possible-to-get-the-records-from-last-run-time-to-now/139094/1 "2018-07-09T07:04:07Z")

</div>

is it possible to get the records from last run time to now  
eg:"SELECT \* from contacts where date between 'last\_run\_time and CURRENT\_TIMESTAMP "

---

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 9, 2018, 7:08am UTC](https://discuss.elastic.co/t/is-it-possible-to-get-the-records-from-last-run-time-to-now/139094/2 "2018-07-09T07:08:51Z")

</div>

any suggestions??

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 9, 2018, 7:37am UTC](https://discuss.elastic.co/t/is-it-possible-to-get-the-records-from-last-run-time-to-now/139094/3 "2018-07-09T07:37:21Z")

</div>

This seems to be a duplicate of [this issue](https://discuss.elastic.co/t/is-it-possible-to-overwrite-the-select-statement-each-time-when-db-is-called/139086).

---

<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 6, 2018, 7:37am UTC](https://discuss.elastic.co/t/is-it-possible-to-get-the-records-from-last-run-time-to-now/139094/4 "2018-08-06T07:37:23Z")

</div>

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