Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluentd on EKS - pattern not match #4

Open
crerem opened this issue Feb 14, 2023 · 0 comments
Open

Fluentd on EKS - pattern not match #4

crerem opened this issue Feb 14, 2023 · 0 comments

Comments

@crerem
Copy link

crerem commented Feb 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant