Closed wangxin688 closed 3 years ago
What version of Logstash are you using? There was a bug a few releases back that would cause this problem.
root@10923984-ESFLOW01:/home/admin# /usr/share/logstash/bin/logstash --version Using bundled JDK: /usr/share/logstash/jdk logstash 7.10.1 it's the latest version
shoud I downgrade the version? And if need,do you have recommended version suggestion? thanks @
What version of Logstash are you using? There was a bug a few releases back that would cause this problem. my logstash version is 7.10.1 and if I install logstash-codec-sflow directly, the version of this plugin is logstash-codec-sflow (2.0.0). And then I remove this and try to local install sflow plugin with version 2.13, reported this issue: root@10923984-ESFLOW01:/usr/share/logstash# bin/logstash-plugin install /tmp/logstash-codec-sflow-2.1.3/logstash-codec-sflow-2.1.3.gem
Validating /tmp/logstash-codec-sflow-2.1.3/logstash-codec-sflow-2.1.3.gem Installing logstash-codec-sflow Plugin version conflict, aborting ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core": In snapshot (Gemfile.lock): logstash-core (= 7.10.1)
In Gemfile: logstash-core java
logstash-codec-sflow (= 2.1.3) java was resolved to 2.1.3, which depends on
logstash-core (>= 5.4.0, <= 7.9.9) java
logstash-core-plugin-api java was resolved to 2.1.16, which depends on
logstash-core (= 7.10.1) java
logstash-input-syslog java was resolved to 3.4.4, which depends on
logstash-filter-grok java was resolved to 4.3.0, which depends on
logstash-core (>= 5.6.0) java
logstash-integration-jdbc java was resolved to 5.0.6, which depends on
logstash-core (>= 6.5.0) java
logstash-output-elasticsearch (>= 10.4.2) java was resolved to 10.7.0, which depends on
logstash-mixin-ecs_compatibility_support (~> 1.0) java was resolved to 1.0.0, which depends on
logstash-core (>= 5.0.0) java
Running bundle update
will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
confused with this. @robcowart Realy upset after a lot investigation for this plugin
finally, I reinstall logstash as verison 7.9.3 and fix this local install issue. close this.thanks
hello, I met this issue with logstash.inputs.udp plugin. the verison of elastiflow is 4.0.0 the log as follow: