theangryangel / logstash-output-jdbc

JDBC output for Logstash
MIT License
255 stars 101 forks source link

cannot link Java class com .zaxxer.hikari.HikariDataSource #89

Closed arokiabhavya closed 7 years ago

arokiabhavya commented 7 years ago

Hi,

Thanks

Expected & Actual Behavior

Your Environment

theangryangel commented 7 years ago

What version of the plugin are you using please? Latest? Or something older? Did you install it via the logstash-plugin command (please tell me you didn't just clone the repo/download it as a zip).

I've not yet had the time to test Logstsh 5.3 myself, but it should work.

arokiabhavya commented 7 years ago

We downloaded the master version as a zip,edited gem file as gem "logstash-output-jdbc", :Path => "./logstash-output-jdbc" and installed logstash-plugin install --no-verify Can you please give the log-stash version in which you have tested? And can you give the list of jars to be placed in vendor/jdbc/jar?

theangryangel commented 7 years ago

We downloaded the master version as a zip

I would not suggest doing that, since you're just creating more work for yourself and me. Just use the logstash-plugin command.

If there is some reason you can't use the logstash-plugin command, then you need the jars and their dependencies listed in https://github.com/theangryangel/logstash-output-jdbc/blob/master/logstash-output-jdbc.gemspec#L29

You can either install them by hand, or use rake install_jars task from the Rakefile.