# Logstash-postgreSQL

**URL:** <https://discuss.elastic.co/t/logstash-postgresql/185696>\
**Category:** Logstash\
**Created:** [June 13, 2019, 3:50pm UTC](https://discuss.elastic.co/t/logstash-postgresql/185696 "2019-06-13T15:50:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amandrell1](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@amandrell1](https://discuss.elastic.co/u/amandrell1)\
**Post date:** [June 13, 2019, 3:50pm UTC](https://discuss.elastic.co/t/logstash-postgresql/185696/1 "2019-06-13T15:50:01Z")

</div>

Hi! I am having trouble with an error with the jdbc\_driver\_library.

I receive this error upload starting Logstash:

"Error: org.postgresql.Driver not loaded. Are you sure you've included the correct jdbc driver in :jdbc\_driver\_library?"

My current version of java is 12 (newest version). I downloaded the driver from [https://jdbc.postgresql.org/download.html](https://jdbc.postgresql.org/download.html) and with the "newest driver" [PostgreSQL JDBC 4.2 Driver, 42.2.5](https://jdbc.postgresql.org/download/postgresql-42.2.5.jar), for java versions 8 and newer.

My configuration looks like this (my .conf file and .jar file are in my Logstash directory):

jdbc\_driver\_library =\> "postgresql-42.2.5.jar"  
jdbc\_driver\_class =\> "org.postgresql.Driver"

Any advice? 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:** [June 13, 2019, 4:19pm UTC](https://discuss.elastic.co/t/logstash-postgresql/185696/2 "2019-06-13T16:19:59Z")

</div>

> [@amandrell1](#):
>
> My current version of java is 12 (newest version).

That isn't even mentioned in the [support matrix](https://www.elastic.co/support/matrix#matrix_jvm) for logstash. I suggest going with 11.

---

<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:** [July 11, 2019, 4:20pm UTC](https://discuss.elastic.co/t/logstash-postgresql/185696/3 "2019-07-11T16:20:00Z")

</div>

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