rethinkdb / logstash-input-rethinkdb

Other
55 stars 13 forks source link

Usage with logstash 5.x #16

Open Marsup opened 7 years ago

Marsup commented 7 years ago

Hello,

I'm trying to use this plugin with logstash 5.1.1 and see this on installation :

Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core":
  In snapshot (Gemfile.lock):
    logstash-core (= 5.1.1)

  In Gemfile:
    logstash-core-plugin-api (>= 0) java depends on
      logstash-core (= 5.1.1) java

    logstash-input-rethinkdb (>= 0) java depends on
      logstash-core (< 2.0.0, >= 1.4.0) java

    logstash-core (>= 0) java

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Knowing nothing from the ruby world, I guess it's because of https://github.com/rethinkdb/logstash-input-rethinkdb/blob/master/logstash-input-rethinkdb.gemspec#L21. What would be the correct solution, change this constraint or go back to logstash 2.x ?

rzvavram commented 7 years ago

I have the same problem

wayann commented 7 years ago

@Marsup @rzvavram https://github.com/wayann/logstash-input-rethinker this should work with logstash 5.x