title: CloudSQL JDBC Logstash implementation
body: <h2>Question</h2>
  <p>I need to query CloudSQL from Logstash but can't find any example out there.</p>
  <h2>Additional Context</h2>
  <p>I ran the build command for postgres jdbc driver</p>
  <p><code>mvn -P jar-with-dependencies clean package -DskipTests</code></p>
  <p>And provided it as Logstash JDBC driver (tried with dependencies jar too):</p>
  <pre><code>input {
      jdbc {
          jdbc_driver_library =&gt; &quot;/Users/gustavollermalylarrain/Documents/proyectos/labs/cloud-sql-jdbc-socket-factory/jdbc/postgres/target/postgres-socket-factory-1.6.4-SNAPSHOT.jar&quot;
          jdbc_driver_class =&gt; &quot;org.postgresql.Driver&quot;
          jdbc_connection_string =&gt; &quot;jdbc:postgresql:///people?cloudSqlInstance=cosmic-keep-148903:us-central1:llermaly&amp;socketFactory=com.google.cloud.sql.postgres.SocketFactory&amp;user=postgres&amp;password=postgres&quot;
          statement =&gt; &quot;SELECT * FROM people;&quot;
          jdbc_user =&gt; &quot;postgres&quot;
          jdbc_password =&gt; &quot;postgres&quot;
      }
  }
  
  output {
      stdout {
          codec =&gt; rubydebug {
          }
      }
  }
  </code></pre>
  <p>I'm having this error:</p>
  <blockquote>
  <p>Error: java.lang.ClassNotFoundException: org.postgresql.Driver. Are you sure you've included the correct jdbc driver in :jdbc_driver_library?</p>
  </blockquote>
  <p>I'm missing something?</p>