码迷,mamicode.com
首页 > 其他好文 > 详细

filebeat删除多余标签

时间:2020-03-17 10:16:39      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:log   led   tput   class   name   hosts   drop   docke   elastic   

filebeat.inputs:
- type: docker
  containers.ids:
    - b77cea34ab4512727a1ae5e14073640c286dcd13d030cb114a9e6befead05a3b
setup.kibana:
  hosts: ["xx.xx.xxx.xxx:9200"]

output.elasticsearch:
  hosts: ["xx.xxx.xx.xx:9200"]
  index: "tomcat-b1-%{+yyyy.MM.dd}"

processors:
- drop_fields:
    fields: ["input_type", "log.offset", "host.name", "input.type", "agent.hostname", "agent.type", "ecs.version", "agent.ephemeral_id", "agent.id", "agent.version", "fields.ics", "log.file.path", "log.flags" ]


setup.template.name: "tomcat"
setup.template.pattern: "tomcat-*"
setup.template.enabled: true
setup.ilm.enabled: false

 

filebeat删除多余标签

标签:log   led   tput   class   name   hosts   drop   docke   elastic   

原文地址:https://www.cnblogs.com/liuYGoo/p/12508872.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!