helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

fluent-bit logs errors

Open 1robroos opened this issue 5 years ago • 2 comments

The fluent-bit pod ( on minikube ) shows a lot of errors:

{"took":25,"errors":true,"items":[{"index":{"_index":"kubernetes_cluster-2019.05.16","_type":"flb_type","_id":"5Mf2wWoBjkwQFkQkrbET","status":400,"error":{"type":"mapper_parsing_exception","reason":"failed to parse","caused_by":{"type":"i_o_exception","reason":"Duplicate field '@timestamp'\n at [Source: org.elasticsearch.common.bytes.BytesReference$MarkSupportingStreamInputWrapper@5394d44b; line: 1, column: 816]"}}}},{"index":{"_index":"kubernetes_cluster-2019.05.16","_type":"flb_type","_id":"5cf2wWoBjkwQFkQkrbET","status":400,"error":{"type":"mapper_parsing_exception","reason":"failed to parse","caused_by":{"type":"i_o_exception","reason":"Duplicate field '@timestamp'\n at [Source: org.elasticsearch.common.bytes.BytesReference$MarkSupportingStreamInputWrapper@6c337d70; line: 1, column: 288]"}}}},{"index":{"_index":"kubernetes_cluster-2019.05.16","_type":"flb_type","_id":"5sf2wWoBjkwQFkQkrbET","status":400,"error":{"type":"mapper_parsing_ex

https://github.com/fluent/fluent-bit/issues/628 references this also.

Not sure what version you use, is it 1.0.4? :

$ kc describe pod/fluent-bit-44gtk -n logging| grep Image
    Image:          fluent/fluent-bit:1.0.4

In your chart I see version 1.3.0 ( confusing for me , sorry )

What is the correct way to solve this ?

1robroos avatar May 16 '19 19:05 1robroos

The version is 1.0.4. 1.3.0 is the helm chart version. The latest fluent-bit is 1.1.1, so you can try that one. I updated it https://github.com/komljen/helm-charts/commit/faf9efae1ad8512e8e381c0729dabb6bf26f4d70.

komljen avatar May 29 '19 09:05 komljen

Thanks, I just tried, unfortunately the same error remains. This is on minikube. I will deploy a test EKS cluster for testing helm,tiller and your charts.

1robroos avatar Jun 05 '19 06:06 1robroos