-
Notifications
You must be signed in to change notification settings - Fork 1.6k
How to debug the aws_cloudwatch_logs sink? #16627
Replies: 3 comments · 6 replies
-
Hi @samidalouche , You could try setting The new AWS SDK only supports IMDSv2. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks. I tried setting the http logs, but nothing interesting pops in the logs.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Did you try |
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes, I have |
Beta Was this translation helpful? Give feedback.
All reactions
-
OK, for some reason systemd was not passing the env variable correctly. This is what I get now
|
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm having a similar issue with DescribeLogGroups failing the healthcheck (#16629). I'm running AL2 on a Gravaton (ARM) EC2 instance, if that helps. |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
I rebuilt using the machine using
And everything works fine now.. So definitely a regression |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
I did the same on my system and it's working correctly now. |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Hi,
Config:
Output with debug enabled (
VECTOR_LOG=debug
)My first reaction is that it must be some sort of permission issue, but
aws logs describe-log-groups --region us-east-1
works fine on the same machine (no other credentials defined than the IAM role attached to the EC2 instance, and the role has theCloudWatchAgentServerPolicy
attached).Is there any additional logs I can enable to make the debugging easier? Any idea that you would suggest?
Worth mentioing: I have a very similar set up working on another machine, using a different AMI. Could it potentially be related to IMDSv2 not being supported, or something similar?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions