java 集群 日志_通过log-pilot收集K8S集群中Java服务多行日志的问题

我也是这个问题,有这个报错,你解决了吗?是不是要输出到logstash

fail to process event: {start 48e5d25f20393a4c02996704d2b7b9fbe55f7925e5f2010c79e4cde6d4d4ca89 10.131.9.15:5000/elk-cluster/elasticsearch6.5.4@sha256:87a0131ea8ba1cac63604953161bceae6fcfd66de291b17753eb2ac381b601c3 container start {48e5d25f20393a4c02996704d2b7b9fbe55f7925e5f2010c79e4cde6d4d4ca89 map[image:10.131.9.15:5000/elk-cluster/elasticsearch6.5.4@sha256:87a0131ea8ba1cac63604953161bceae6fcfd66de291b17753eb2ac381b601c3 io.kubernetes.sandbox.id:5694a8705721959483a7898ecf41016aa57e46e3f3ab2b495138a64381e7e5e6 license:Elastic License org.label-schema.schema-version:1.0 annotation.io.kubernetes.container.hash:c5392e32 annotation.io.kubernetes.container.restartCount:0 annotation.io.kubernetes.container.terminationMessagePath:/dev/termination-log org.label-schema.version:6.5.4 io.kubernetes.container.logpath:/var/log/pods/17da8484-5b8d-11ea-a98d-005056b4b5ae/test/0.log io.kubernetes.pod.name:elk-cluster-test-7475679577-v8q9x org.label-schema.build-date:20181205 io.kubernetes.pod.uid:17da8484-5b8d-11ea-a98d-005056b4b5ae name:k8s_test_elk-cluster-test-7475679577-v8q9x_default_17da8484-5b8d-11ea-a98d-005056b4b5ae_0 org.label-schema.name:elasticsearch io.kubernetes.container.name:test io.kubernetes.docker.type:container io.kubernetes.pod.namespace:default org.label-schema.url:https://www.elastic.co/products/elasticsearch org.label-schema.vcs-url:https://github.com/elastic/elasticsearch-docker org.label-schema.vendor:Elastic annotation.io.kubernetes.container.terminationMessagePolicy:File annotation.io.kubernetes.pod.terminationGracePeriod:30 org.label-schema.license:GPLv2]} local 1583047216 1583047216570995304}, template: pilot:20:30: executing "pilot" at <.customfields>: can't evaluate field CustomFields in type *pilot.LogConfig"

你可能感兴趣的:(java,集群,日志)