Logstash-plugins github address :
1、安装好 ruby 环境
2、下载插件包,例如:
0> wget https://github.com/logstash-plugins/logstash-filter-aggregate 0> unzip master0> cd logstash-filter-aggregate-master0> gem build logstash-filter-aggregate.gemspec #会生成 logstash-filter-aggregate-0.1.3.gem 文件0> /path/to/your/logstash/bin/plugin install /path/to/your/logstash-filter-aggregate-0.1.3.gem Validating ./logstash-filter-aggregate-0.1.3.gemInstalling logstash-filter-aggregateInstallation successful
3、现在,调用list列出所有的已安装插件列表,会看见刚才安装的aggregate插件:
0> /path/to/your/logstash/bin/plugin listlogstash-filter-aggregate