jurmous / logstash-log4j2

Log4j2 plugin for logstash
41 stars 21 forks source link

Plugin installation failing for Logstash 2.0.0 #13

Open sumanthakannantha opened 8 years ago

sumanthakannantha commented 8 years ago

Plugin installation failing for Logstash 2.0.0. Any plan to support this version?

./plugin install logstash-input-log4j2 Validating logstash-input-log4j2 Installing logstash-input-log4j2 Plugin version conflict, aborting ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core": In snapshot (Gemfile.lock): logstash-core (= 2.0.0)

In Gemfile: logstash-output-http (>= 0) java depends on logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-input-beats (>= 0) java depends on
  logstash-core (< 3.0.0, >= 1.5.4) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

logstash-output-http (>= 0) java depends on
  logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
    logstash-core (< 3.0.0, >= 2.0.0.beta2) java

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

logstash-core (= 2.0.0) java

Running bundle update will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict. Bundler could not find compatible versions for gem "logstash": In Gemfile: logstash-input-log4j2 (>= 0) java depends on logstash (< 2.0.0, >= 1.4.0) java Could not find gem 'logstash (< 2.0.0, >= 1.4.0) java', which is required by gem 'logstash-input-log4j2 (>= 0) java', in any of the sources.

Thorndike commented 8 years ago

Same problem here with logstash 2.1.1

hboetes commented 8 years ago

Check the branches, a pull request fixing this issue has already been proposed.

estanislaobosch commented 8 years ago

A workaround to solve this you can 0- execute 'gem install logstash-devutils' 1- clone the master branch to path_to_plugin_dir 2- in path_to_plugin_dir execute 'rake vendor' 3- in path_to_plugin_dir execute 'gem build logstash-input-log4j2.gemspec' 4- in path_to_logstash_dir execute './bin/plugin install path_to_plugin_dir/logstash-input-log4j2-5.2-java.gem

Hope this helps