Skip to content

Fluentd on EKS - pattern not match #4

@crerem

Description

@crerem

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions