Closed jacekmackiewicz closed 3 years ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Bug Report
Describe the bug Docker log lines get concatenated, thus later when sending with http/gelf they some messages got ignored.
To Reproduce
Expected behavior Each line of log in separate message transmitted to http/gelf output. Noticed when using stdout format json that lines from docker get concatenated and when switching to http or gelf output only first log key gets sent, rest are ignored. Notice the second square bracket having two log keys.
In graylog I end up seeing two messages instead of three or more.
Your Environment
Configuration:
apiVersion: apps/v1 kind: DaemonSet metadata: name: fluent-bit-windows namespace: logging labels: k8s-app: fluent-bit-logging version: v1 kubernetes.io/cluster-service: "true" annotations: fluentbit.io/exclude: "true" spec: selector: matchLabels: k8s-app: fluent-bit-logging version: v1 kubernetes.io/cluster-service: "true" template: metadata: labels: k8s-app: fluent-bit-logging version: v1 kubernetes.io/cluster-service: "true" annotations: fluentbit.io/exclude: "true" prometheus.io/scrape: "true" prometheus.io/port: "2020" prometheus.io/path: /api/v1/metrics/prometheus spec: containers: