PythonHacks icon indicating copy to clipboard operation
PythonHacks copied to clipboard

Fluentd on EKS - pattern not match

Open crerem opened this issue 2 years ago • 0 comments

Hi, I'm trying to follow the youtube tutorial on Fluentd on EKS : https://github.com/RekhuGopal/PythonHacks/tree/main/AWS_EKS_Logs_to_CloudwatchLoggroups

All the instructions work as expected however, the logs are not sent to Cloudwatch (i checked the node group role permissions)

When I do a "kubectl pods log ...." on the fluend pod, i see errors like this

[in_tail_container_logs] pattern not match: "2023-02-13T13:43:15.712788146Z stdout F 2023-02-13 13:43:15 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: "2023-02-13T13:43:14.711511137Z stdout F 2023-02-13 13:43:14 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: \"2023-02-13T13:43:13.711206547Z stdout F 2023-02-13 13:43:13 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: \\\"2023-02-13T13:43:12.708360124Z stdout F 2023-02-13 13:43:12 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: \\\\\\\"2023-02-13T13:43:12.680662208Z stdout F 2023-02-13 13:43:12 +0000 [warn]: parameter 'pos_file' in \\\\\\\"\\\"\""" 2023-02-13 13:43:16 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: "2023-02-13T13:43:15.712818447Z stdout F 2023-02-13 13:43:15 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: "2023-02-13T13:43:14.711550364Z stdout F 2023-02-13 13:43:14 +0000 [warn]: #0

Any idea why this is happening? Is the fluent configuration files up to date?

Thank you

crerem avatar Feb 14 '23 13:02 crerem