# Logstash error : No implicit conversion of Integer into String

**URL:** https://discuss.elastic.co/t/logstash-error-no-implicit-conversion-of-integer-into-string/192901
**Category:** Logstash
**Created:** [July 30, 2019, 1:07pm UTC](https://discuss.elastic.co/t/logstash-error-no-implicit-conversion-of-integer-into-string/192901 "2019-07-30T13:07:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![SalmaOua](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@SalmaOua](https://discuss.elastic.co/u/SalmaOua)
#### Post date: [July 30, 2019, 1:07pm UTC](https://discuss.elastic.co/t/logstash-error-no-implicit-conversion-of-integer-into-string/192901/1 "2019-07-30T13:07:03Z")

</div>

Hello there !

I started diving into Elastic stack world recently, everything was going well but when I wanted to take data from a new SQL server table via Logstash, I got this error :

 ![err](https://us1.discourse-cdn.com/elastic/original/3X/9/6/9690b411d96136e5d8b2573fd359787d32055e4e.png)

My config file looks like this :

 ![conf](https://us1.discourse-cdn.com/elastic/original/3X/4/c/4cc38a1538edc3317423ad859a049492e0aef827.png)

If anyone can help, I'd appreciate it ! Thank you 😀😀

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [July 30, 2019, 2:03pm UTC](https://discuss.elastic.co/t/logstash-error-no-implicit-conversion-of-integer-into-string/192901/2 "2019-07-30T14:03:30Z")

</div>

It is having a problem parsing the last run metadata. That is stored by default in

```
"#{ENV['HOME']}/.logstash_jdbc_last_run"

```

I suggest you remove that file.

---

<div class="post-metadata">

### Author: ![SalmaOua](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@SalmaOua](https://discuss.elastic.co/u/SalmaOua)
#### Post date: [July 30, 2019, 2:16pm UTC](https://discuss.elastic.co/t/logstash-error-no-implicit-conversion-of-integer-into-string/192901/3 "2019-07-30T14:16:11Z")

</div>

Thank you for replying !

Weirdly, I can't find that file 🤔

---

<div class="post-metadata">

### Author: ![SalmaOua](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@SalmaOua](https://discuss.elastic.co/u/SalmaOua)
#### Post date: [July 30, 2019, 2:46pm UTC](https://discuss.elastic.co/t/logstash-error-no-implicit-conversion-of-integer-into-string/192901/4 "2019-07-30T14:46:22Z")

</div>

I created a new file and added the path to the config file, it worked ! 😄

---

<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 27, 2019, 2:46pm UTC](https://discuss.elastic.co/t/logstash-error-no-implicit-conversion-of-integer-into-string/192901/5 "2019-08-27T14:46:27Z")

</div>

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