filebeat删除多余标签
Posted liuygoo
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了filebeat删除多余标签相关的知识,希望对你有一定的参考价值。
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删除多余标签的主要内容,如果未能解决你的问题,请参考以下文章