There are several reasons why Cloudwatch may stop displaying logs from AWS Lambda:
Retention period: Cloudwatch has a retention period for log data, after which the data is deleted. Check if the retention period has expired.
Log group limit: Each AWS account has a limit on the number of log groups that can be created in Cloudwatch. If the limit is reached, try consolidating or deleting old log groups.
Permission issues: Ensure that the IAM role associated with the Lambda function has the necessary permissions to write logs to Cloudwatch.
Issues with Cloudwatch agent: If the Lambda function is running on an EC2 instance with the Cloudwatch agent installed, check if the agent is running and configured correctly.
Lambda function errors: If the Lambda function encounters errors, it may not be able to write logs to Cloudwatch. Check the Lambda function's Cloudwatch metrics for any errors.
Firewall or network issues: Ensure that there are no firewall or network issues that may be preventing the logs from being uploaded to Cloudwatch.
If none of the above solutions work, consider contacting AWS Support for further assistance.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-09-20 11:00:00 +0000
Seen: 11 times
Last updated: Nov 14 '22
What is the procedure for searching cloudwatch logs to identify successful lambda executions?
How can one retrieve data measurements from AWS Cross-Account CloudWatch through ingestion?
What is the process of using the Multmerge() function in r to combine files in a directory?
Is it possible for two distinct useState functions to trigger changes simultaneously?
How can one use node to change an ogg file into an mp3 file?
How can a function pointer be transferred between different files in CUDA?
What does the error message "TypeError: e.endsWith is not a function" mean in Redoc?