plugin的gems仓库
下载地址:仓库地址
1.安装ruby环境
yum install ruby
yum install rubygems
2.下载插件包
下载插件的方式有多种
2.1 wget下载,本地编译
wget https://github.com/logstash-plugins/logstash-input-kafka
unzip master
cd logstash-input-kafka-master
gem build xxx.gemspec
生成 xxx.gem
2.2 从gems仓库直接下载xxx.gems库
3.安装
cd logstash的bin目录
./logstash-plugin install xxx.gem
...
Validating ...
Instaling ...
Installation successful