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 and with the "newest driver" PostgreSQL JDBC 4.2 Driver, 42.2.5, 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!

That isn't even mentioned in the support matrix for logstash. I suggest going with 11.

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