Articles → AWS → Enable Cloudwatch Logs For The AWS API Gateway

Enable Cloudwatch Logs For The AWS API Gateway






Role




Picture showing creating the role for the API gateway


Picture showing adding the AmazonAPIGatewayPushToCloudWatchLogs permission to the role



Provide Permission To The Role




Picture showing the settings menu in the API gateway




Picture showing adding the role for enabling logging in the CloudWatch





Deploy API





Enable Cloudwatch Logs




Picture showing the CloudWatch settings in the Logs/Tracing tab



Output




Picture showing the logs in CloudWatch





Posted By  -  Karan Gupta
 
Posted On  -  Monday, May 15, 2023

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250