# Last\_run\_metadata\_path file not getting created

**URL:** <https://discuss.elastic.co/t/last-run-metadata-path-file-not-getting-created/183012>\
**Category:** Logstash\
**Created:** [May 28, 2019, 7:55am UTC](https://discuss.elastic.co/t/last-run-metadata-path-file-not-getting-created/183012 "2019-05-28T07:55:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhinav\_Manoj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhinav_manoj/32/46709_2.png) [@Abhinav\_Manoj](https://discuss.elastic.co/u/Abhinav_Manoj)\
**Post date:** [May 28, 2019, 7:55am UTC](https://discuss.elastic.co/t/last-run-metadata-path-file-not-getting-created/183012/1 "2019-05-28T07:55:08Z")

</div>

I'm trying to run logstash using JDBC plugin. I have given a custom path for the file but still it is not reflecting and its getting created in the default path.  
My config is as shown below  
input {  
jdbc {  
jdbc\_driver\_library =\> "D:/ELK/mysql-connector-java-8.0.16/mysql-connector-java-8.0.16.jar"  
jdbc\_driver\_class =\> "com.mysql.jdbc.Driver"  
jdbc\_connection\_string =\> "jdbc:mysql://10.115.115.109:3306/gpscbot"  
jdbc\_user =\> "root"  
jdbc\_password =\> "data.123"  
#statement =\> "SELECT \* from likefeedback"  
clean\_run =\> true  
statement =\> "SELECT \* FROM likefeedback WHERE id \> :sql\_last\_value"  
#schedule =\> "45 6 \* 1-12 \*"  
use\_column\_value =\> true  
tracking\_column =\> "id"  
tracking\_column\_type =\> "numeric"  
last\_run\_metadata\_path =\> "D:/ELK/logstash-7.0.1/logstash-7.0.1/bin/.logstash\_jdbc\_last\_run"  
record\_last\_run =\> true  
}  
Please help me on this.

---

<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:** [June 25, 2019, 8:05am UTC](https://discuss.elastic.co/t/last-run-metadata-path-file-not-getting-created/183012/2 "2019-06-25T08:05:47Z")

</div>

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