- Newest
- Most votes
- Most comments
Hi there,
Thank you for reaching out to us.
To answer your question and resolve the issue, firstly, CloudWatch Logs agent has been deprecated.
The older logs agent is deprecated. CloudWatch includes a unified agent that can collect both logs and metrics from EC2 instances and on-premises servers. For more information, see : https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_GettingStarted.html
For information about migrating from the older CloudWatch Logs agent to the unified agent, see : https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/create-cloudwatch-agent-configuration-file-wizard.html
The older CloudWatch Logs agent doesn't support Instance Metadata Service Version 2 (IMDSv2). If your server uses IMDSv2, you must use the newer unified agent instead of the older CloudWatch Logs agent.
Hence, try using the same with Cloudwatch Agent and further test it out.
Because, as mentioned in our public documentation here, the CloudWatch agent is supported for the OS Ubuntu 22.04 : https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html
We require details that are non-public information. Please open a support case with AWS using the following link : https://console.aws.amazon.com/support/home#/case/create
Thank you!
Relevant content
- asked 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago