Installationedit
For plugins not bundled by default, it is easy to install by running bin/logstash-plugin install logstash-input-sqlite
. See Working with plugins for more details.
vim Gemfile
# source "https://rubygems.org"
source "https://ruby.taobao.org/"
将安装源换为国内的,此时成功,安装效果如下:
[bigdata@master soft]$ cd logstash-1.5.4/
[bigdata@master logstash-1.5.4]$ bin/plugin install logstash-input-sqlite
Validating logstash-input-sqlite
Installing logstash-input-sqlite
Installation successful
[bigdata@master logstash-1.5.4]$
参考:https://www.elastic.co/guide/en/logstash/current/plugins-inputs-sqlite.html#_getting_help_37