I am getting a Gem conflict trying to install the latest version of the plugin. I am running Logstash version 2.3.4. The following is the command I am trying to run.
/opt/logstash/bin/plugin install --version 4.0.2 logstash-filter-metrics
Full Output:
Validating logstash-filter-metrics-4.0.2
Installing logstash-filter-metrics
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core-plugin- api":
In snapshot (Gemfile.lock):
logstash-core-plugin-api (= 1.20.0)
In Gemfile:
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-kv (>= 0) java depends on
logstash-core-plugin-api (~> 1.0) java
logstash-filter-metrics (= 4.0.2) java depends on
logstash-core-plugin-api (<= 2.99, >= 1.60) java
logstash-core-plugin-api (= 1.20.0) java
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.