- Newest
- Most votes
- Most comments
Amazon Cognito supports several AWS services for monitoring and maintaining the reliability, availability, and performance of your organization and user activity:
AWS CloudTrail: Captures API calls from the Cognito console and code calls to the Cognito API operations. It records details like the IP address, who made the request, and when it was made, especially during user authentication events.
Amazon CloudWatch Logs: Allows you to send fine-grained logs of user activity to a log group, which can be helpful for troubleshooting issues like email and SMS message delivery to users.
Amazon CloudWatch Metrics: Enables you to monitor, report, and take automatic actions in near real-time based on various metrics related to your Amazon Cognito user pools. You can create dashboards or alarms based on these metrics.
Amazon CloudWatch Logs Insights: Allows you to configure CloudTrail to send events to CloudWatch for monitoring Amazon Cognito CloudTrail log files.
In summary, these AWS services provide comprehensive monitoring and logging capabilities for Amazon Cognito, allowing you to track user activity, API calls, and various metrics to ensure the reliability and performance of your authentication and authorization systems.
Additional information on how to setup and enable those logs can be found in Cognito Developer Guide Logging and monitoring
As your aim is to investigate and analyze API calls rather than usage patterns, the CloudTrail logs would be a valuable resource. CloudTrail captures a subset of API calls made to Amazon Cognito, recording them as events. This includes calls initiated from the Amazon Cognito console as well as those made through code calls to the Amazon Cognito API operations You can find additional information about CloudTrail and Cognito in this link as well as information about the CloudTrail Cognito sign-in events in this link
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
The cloudwatch logs for my app in the correct log group does not show any error as occurring. The same with the other places you mentioned there should be an error log