This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Description
目前集群内有两类日志需要收集: spring微服务日志 以及 ingress-nginx日志 json格式(无法采集)
为了满足多行合并的需求,filebeat.tpl修改如下:

spring采集定义如下:
- name: aliyun_logs_xxx1
value: stdout
- name: aliyun_logs_xxx1_tags
value: "env=seaprod,project=xxx1,type=app-health-gateway"
ingress-nginx采集定义如下:
- name: aliyun_logs_xxx2
value: stdout
- name: aliyun_logs_xxx2_format
value: json
- name: aliyun_logs_xxx2_tags
value: "env=seaprod,project=xxx2,type=ngx-access"
现在的问题是修改镜像满足多行合并后,便无法采集json格式的ingress-nginx日志了。有什么办法可以让logpit同时采集多种不同格式类型的日志源吗~~