logstash利用ruby语言写复杂的处理逻辑

在应用中,须要对logstash读取的数据进行字符判断、字符串截取等操做。同时也须要用到正则表达式对某些匹配字符进行替换。 直接上配置文件逻辑:php input{ stdin{ # codec=>rubydebug } } filter{ # codec=>rubydebug mutate{ split=>["message"," "] ad
相关文章
相关标签/搜索