Reputation: 175
I seem to have an issue with seeing logs in AWS CloudWatch for my AWS Gateway.
I did the following:
Now I can see a Log Group that seem to correspond to my AWS Gateway and Log Streams but all of them are empty.
I think I'm missing something here.
Thanks, Michal
Upvotes: 4
Views: 1174
Reputation: 5688
Set up API Logging Using the API Gateway Console
To set up API logging, you must have deployed the API to a stage. You must also have configured an appropriate CloudWatch Logs role ARN for your account.
For more information about CloudWatch metrics, see Monitor API Execution with Amazon CloudWatch.
Note: You can enable execution logging and access logging independent of each other.
Reference: Set Up CloudWatch API Logging in API Gateway
Upvotes: 4