托尔2017
2017-02-14 08:01logstash统计event的count数的时候报错
如下是logstash的filter的部分配置文件
if "metric" in [tags] {
ruby {
code => "event.cancel if event'[events_[MainThread]][count]' < 500"
}
}
这里统计到最后会提示报错Ruby exception occurred: comparison of String with 500 failed
新手,请各位大神帮忙看看怎么解决。。
- 点赞
- 回答
- 收藏
- 复制链接分享
3条回答
为你推荐
- Logstash与tcp,错误:java.io.IOException:连接被对等方重置
- elasticsearch
- 1个回答