标签:
Logstash-plugins github address : https://github.com/logstash-plugins
1、安装好 ruby 环境
2、下载插件包,例如:
0> wget https://github.com/logstash-plugins/logstash-filter-aggregate 0> unzip master 0> cd logstash-filter-aggregate-master 0> 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.gem Installing logstash-filter-aggregate Installation successful
3、现在,调用list列出所有的已安装插件列表,会看见刚才安装的aggregate插件:
0> /path/to/your/logstash/bin/plugin list logstash-filter-aggregate
标签:
原文地址:http://my.oschina.net/moonly/blog/508230