摘要: 扩展 logstash插件 1、中文:手把手教你编写Logstash插件 2、官方:How to write a Logstash filter plugin 问题 1、插件装不上:把plugin的源地址换成淘宝的:https://ruby.taobao.org(未测试) 2、不能实时收集日志:没设置start_position ,默认是end,没有新日志进来。 3、搜索:要整... 阅读全文
posted @ 2016-08-26 10:07 干货 阅读(2019) 评论(0) 推荐(0) 编辑
摘要: ELK中,主要关心logstash的配置,es只是作为存储容器。 logstash 2、rubydebug格式输出 ./bin/logstash -e 'input{stdin{}}output{stdout{codec=>rubydebug}}' 3、配置文件 输出到elasticsearch 配置项 input、filter、output 命令 [elk@linux2 ... 阅读全文
posted @ 2016-08-26 10:02 干货 阅读(493) 评论(0) 推荐(0) 编辑