使用netstat -lntp来看看有侦听在网络某端口的进程。当然,也可以使用 lsof。

filebeat配置文件中配置了document_types这个选项,为什么入到es里面的索引还是log

Beats | 作者 hello4395 | 发布于2017年08月07日 | 阅读数:2747

filebeat配置文件中配置了include_lines这个选项,为什么入到es里面的索引还是log
已邀请:

sw_yp

赞同来自:

include_lines: ["^ERR", "^WARN"] #是只发送包含这些字样的日志
 

typuc - 80后IT男,乒乓球爱好者

赞同来自:

document_types ? 你多打了个s吧

xiaoke - http://blog.51cto.com/kexiaoke

赞同来自:

  # Type to be published in the 'type' field. For Elasticsearch output,
  # the type defines the document type these entries should be stored
  # in. Default: log
  document_type: log
同上,是没有s的

要回复问题请先登录注册