# When \`.logstash\_jdbc\_last\_run\` is created?

**URL:** <https://discuss.elastic.co/t/when-logstash-jdbc-last-run-is-created/240902>\
**Category:** Logstash\
**Created:** [July 13, 2020, 7:02am UTC](https://discuss.elastic.co/t/when-logstash-jdbc-last-run-is-created/240902 "2020-07-13T07:02:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohoroyoi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ohoroyoi/32/46820_2.png) [@ohoroyoi](https://discuss.elastic.co/u/ohoroyoi)\
**Post date:** [July 13, 2020, 7:02am UTC](https://discuss.elastic.co/t/when-logstash-jdbc-last-run-is-created/240902/1 "2020-07-13T07:02:27Z")

</div>

Even if I create a file arbitrarily, the text in the file is erased and sql\_last\_value is not created. I originally had this file, but I deleted it.

So I can't get sql\_last\_value. How should I solve it?

---

<div class="post-metadata">

**Author:** ![ohoroyoi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ohoroyoi/32/46820_2.png) [@ohoroyoi](https://discuss.elastic.co/u/ohoroyoi)\
**Post date:** [July 15, 2020, 2:18am UTC](https://discuss.elastic.co/t/when-logstash-jdbc-last-run-is-created/240902/2 "2020-07-15T02:18:48Z")

</div>

If you want to recreate the file after erasing it once, you have to re-input the entire table.

---

<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 12, 2020, 2:18am UTC](https://discuss.elastic.co/t/when-logstash-jdbc-last-run-is-created/240902/3 "2020-08-12T02:18:53Z")

</div>

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