试试搜索一下吧

filebeat when支持哪几种类型

Beats | 作者 yangjiajun111 | 发布于2018年01月16日 | 阅读数:2675

filebeat支持使用when定义的规则来选择执行的条件,如:

indices: 
 - index: "critical-%{[beat.version]}-%{+yyyy.MM.dd}" 
   when.contains: message: "CRITICAL" 
 - index: "error-%{[beat.version]}-%{+yyyy.MM.dd}" 
   when.contains: message: "ERR"
我想问一下filebeat到底支持哪几种条件判断,如果我想判断一个字段是不是存在,该怎么写
 
已邀请:

要回复问题请先登录注册