So, when trying to install a logstash plugin inside a docker container (using an interactive shell, or a Dockerfile or docker-compose , doesn't matter), this happens:
sh-4.2$ ./logstash-plugin install logstash-codec-sflow
ERROR: Something went wrong when installing logstash-codec-sflow, message: execution expired
It seems there is no verbose option for the plugin installer, so I have to idea what to look for.
Also, the docker container has working internet. Any ideas?
In Docker File can you please add the below line according to OS.
RUN yum update
RUN apt-get update
Please try this , may this will work.
Never mind. The problem is that the logstash plugin installer ignores the proxy export, and does not echo any error messages.
Can I have a definitive statement on the fix for this please? I've upgraded to 5.2.0 and i still cannot install plugins. And, the above workaround fails too:
# bin/logstash-plugin install logstash-filter-de_dot
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core-event-java (5.2.0), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.2.0'` succeeds befor…
provides the answer.
logstash-5.x.x series versions have problem with "jruby 1.27"
If you want execute this then please install logstash 6.2, and jruby 1.9.12 latest version.
May be above information is useful to you, because , I have faced same problem in logstash 5.x.x ,
And I have resolve it by upgrading logstash version 6.4.2 and jruby 1.9.12
As I wrote in my very first post, the docker image i'm using is image:
docker.elastic.co/logstash/logstash:7.1.1, which is the latest stable version. However, the solution presented in the thread I linked also works for 7.1.1
July 17, 2019, 2:05pm
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.