You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
ilogtial: 1.5
k8s: 1.20
收集标注输出,偶现 contents 数据错乱,收到的数据 里的 time source 和 content 数据和预期不一致
消费端将收集失败的日志数据打印发现 conternts 里的数据混乱
E0806 01:10:11.964175 1 clickhouse_output.go:537] 未发现 contents 数据: event: map[contents:map[time:2023-08-05T17:10:11.964165621Z source:.......... time:..... app:c-xxxx-ac content:.......... .......... 99% 508M 0s\n","stream":"stderr","time":"2023-08-05T17:10:11.78636394Z"} group:cxxxxx.default system:xxxxx] offset:< nil > tags:map[container.image.name:harbor.xxxxxx.com/xxxx/xxxx:aad74164-230206-092833 container.ip:xxxx container.name:xxxx host.ip:xxxx host.name:log-pilot-ilogtail-9l669 k8s.namespace.name:xxxx k8s.pod.name:xxxxx-7 k8s.pod.uid:xxxxxx-27b0-433e-bb88-78bf82b26c4e] time:1.691255411e+09]
E0806 01:10:15.986359 1 clickhouse_output.go:537] 未发现 contents 数据: event: map[contents:map[time:2023-08-05T17:10:15.974049467Z source:.......... time:450K app:c-xxx-ac content:.......... .......... .......... .......... 99% 501M 0s\n","stream":"stderr","time":"2023-08-05T17:10:11.786462322Z"} group:xxxxxsystem:xxxxx] offset:< nil > tags:map[container.image.name:xxxx.xxxx.com/xxxx/c-xxx-ac:aad74164-230206-092833 container.ip:xxxx container.name:xxx host.ip:10.21.216.196 host.name:log-pilot-ilogtail-9l669 k8s.namespace.name:xxxx k8s.pod.name:xxxx-7 k8s.pod.uid:xxxx-27b0-433e-bb88-78bf82b26c4e] time:1.691255412e+09]
kubectl logs 看原始数据是正常的, 挑了几个 报错数据时间看了下,可能与 pod 重启有关, 大概率是 pod 重启时会有类似问题
Beta Was this translation helpful? Give feedback.
All reactions