Skip to content

Commit 0755f0b

Browse files
Robin Moffattjordansissel
authored andcommitted
Add note re. use of Oracle jdbc driver (ref #43)
Fixes #79
1 parent 428b1e4 commit 0755f0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/logstash/plugin_mixins/jdbc.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ def setup_jdbc_config
2323
# If not provided, Plugin will look for the driver class in the Logstash Java classpath.
2424
config :jdbc_driver_library, :validate => :path
2525

26-
# JDBC driver class to load, for example "oracle.jdbc.OracleDriver" or "org.apache.derby.jdbc.ClientDriver"
26+
# JDBC driver class to load, for exmaple, "org.apache.derby.jdbc.ClientDriver"
27+
# NB per https://github.com/logstash-plugins/logstash-input-jdbc/issues/43 if you are using
28+
# the Oracle JDBC driver (ojdbc6.jar) the correct `jdbc_driver_class` is `"Java::oracle.jdbc.driver.OracleDriver"`
2729
config :jdbc_driver_class, :validate => :string, :required => true
2830

2931
# JDBC connection string

0 commit comments

Comments
 (0)