logstash-log4j2
logstash-log4j2 copied to clipboard
Is it incompatible with Logstash 5? (I get error)
I get the following error when running on Logstash 5.0.1 via Docker Logstash 5.0.1-1 (see below for howto).
`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.0.1)
In Gemfile: logstash-core-plugin-api (>= 0) java depends on logstash-core (= 5.0.1) java
logstash-input-log4j2 (>= 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.
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.`
Howto Reproduce with docker: Fetch dockerElk stack composed docker build: https://github.com/deviantony/docker-elk Edit: logstash\Dockerfile: Add line: RUN logstash-plugin install logstash-input-log4j2 Run: docker-compose build