# Logstash can not tracking oracle timestamp correctly

**URL:** <https://discuss.elastic.co/t/logstash-can-not-tracking-oracle-timestamp-correctly/99776>\
**Category:** Logstash\
**Created:** [September 8, 2017, 12:38am UTC](https://discuss.elastic.co/t/logstash-can-not-tracking-oracle-timestamp-correctly/99776 "2017-09-08T00:38:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trident](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Trident](https://discuss.elastic.co/u/Trident)\
**Post date:** [September 8, 2017, 12:38am UTC](https://discuss.elastic.co/t/logstash-can-not-tracking-oracle-timestamp-correctly/99776/1 "2017-09-08T00:38:46Z")

</div>

I use logstash-jdbc-input import data to es from oracle, and want use a timestamp column as tracking column.

below is my conf

 ![41 PM](https://us1.discourse-cdn.com/elastic/original/3X/8/e/8e7ec6e7bdbffca0d28669937fa753a3e1907604.png)

when first run, the :sql\_last\_value was "N" and logstash failed

can anyone help me, thanks

---

<div class="post-metadata">

**Author:** ![Trident](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Trident](https://discuss.elastic.co/u/Trident)\
**Post date:** [September 28, 2017, 12:35am UTC](https://discuss.elastic.co/t/logstash-can-not-tracking-oracle-timestamp-correctly/99776/2 "2017-09-28T00:35:03Z")

</div>

i solve the problem by manually create a last\_run file and input a default timestamp.

---

<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 26, 2017, 12:35am UTC](https://discuss.elastic.co/t/logstash-can-not-tracking-oracle-timestamp-correctly/99776/3 "2017-10-26T00:35:50Z")

</div>

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