Logging in and Monitoring in Amazon Cognito - Amazon Cognito

Logging in and Monitoring in Amazon Cognito

Monitoring is an important part of maintaining the reliability, availability, and performance of Amazon Cognito and your other AWS solutions. Amazon Cognito currently supports the following two AWS services so that you can monitor your organization and the activity that happens within it.

  • Amazon CloudWatch Metrics – With CloudWatch metrics you can monitor, report and take automatic actions in case of an event in near real time. For example, you can create CloudWatch dashboards on the provided metrics to monitor your Cognito user pools, or you can create CloudWatch alarms on the provided metrics to notify you on breach of a set threshold.

  • AWS CloudTrail – With CloudTrail you can capture API calls from the Amazon Cognito console and from code calls to the Amazon Cognito APIs. For example, when a user authenticates, CloudTrail can record details such as the IP address in the request, who made the request, and when it was made.