Collecting AWS cloudwatch logs #31373
Replies: 1 comment 4 replies
-
Can you please help with this? @djaglowski @schmikei |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use the awscloudwatch receiver and print them to console for now using logging or debug exporter, this is the config that I am using. I have given full Cloudwatch permissions to IAM role. I can see that OTEL is able to connect with log group but unable to print logs from all the streams. How should I proceed further?
These are the logs that I am receiving from my OTEL pod (It does not print any stream related logging)
2024-02-19T18:57:01.806Z debug [email protected]/logs.go:323 discovered log group {"kind": "receiver", "name": "awscloudwatch", "data_type": "logs", "log group": "{\n Arn: "arn:aws:logs:us-west-2:494665075828:log-group:/aws/events/networkmanagerloggroup:",\n CreationTime: 1706123061129,\n LogGroupClass: "STANDARD",\n LogGroupName: "/aws/events/networkmanagerloggroup",\n MetricFilterCount: 0,\n StoredBytes: 33447\n}"}
2024-02-19T18:57:11.773Z debug [email protected]/logs.go:287 attempting to discover log groups. {"kind": "receiver", "name": "awscloudwatch", "data_type": "logs", "limit": 10}
2024-02-19T18:57:11.804Z debug [email protected]/logs.go:323 discovered log group {"kind": "receiver", "name": "awscloudwatch", "data_type": "logs", "log group": "{\n Arn: "arn:aws:logs:us-west-2:494665075828:log-group:/aws/events/networkmanagerloggroup:",\n CreationTime: 1706123061129,\n LogGroupClass: "STANDARD",\n LogGroupName: "/aws/events/networkmanagerloggroup",\n MetricFilterCount: 0,\n StoredBytes: 33447\n}"}
Beta Was this translation helpful? Give feedback.
All reactions