[root@h102 ~]# /opt/logstash/bin/plugin uninstall -h
Usage:
bin/plugin uninstall [OPTIONS] PLUGIN
Parameters:
PLUGIN plugin name
Options:
-h, --help print help
[root@h102 ~]#
[root@h102 logstash]# cd /opt/logstash/
[root@h102 logstash]# vim Gemfile
[root@h102 logstash]# grep source Gemfile
source "https://ruby.taobao.org"
[root@h102 logstash]#
Note: 如果不修改,所有涉及插件变更的操作都会报错,原因是 The Great Wall ,如下
[root@h102 ~]# /opt/logstash/bin/plugin uninstall logstash-output-kafka
Uninstalling logstash-output-kafka
Error Bundler::InstallError, retrying 1/10
An error occurred while installing arr-pm (0.0.10), and Bundler cannot continue.
Make sure that `gem install arr-pm -v '0.0.10'` succeeds before bundling.
WARNING: SSLSocket#session= is not supported
^C
[root@h102 ~]# /opt/logstash/bin/plugin install logstash-output-kafka
Validating logstash-output-kafka
Unable to download data from https://rubygems.org - Connection reset by peer (https://rubygems.global.ssl.fastly.net/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for logstash-output-kafka
[root@h102 ~]#
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。