美文网首页
ELK-filebeat-tomcat-yaml

ELK-filebeat-tomcat-yaml

作者: 小浪崇礼 | 来源:发表于2020-04-18 15:48 被阅读0次

filebeat.prospectors:

- type: log

  paths:

    - /usr/local/tomcat/logs/catalina.out

  # tags: ["tomcat"]

  fields:

    app: www

    type: tomcat-catalina

  fields_under_root: true

  multiline:

    pattern: '^\['

    negate: true

    match: after

output.redis:

  hosts: ["192.168.0.215"]

  password: "123456"

  key: "filebeat"

  db: 0

  datatype: list

相关文章

网友评论

      本文标题:ELK-filebeat-tomcat-yaml

      本文链接:https://www.haomeiwen.com/subject/cbpbvhtx.html