Skip to main content

Amazon Cognito

Thumbnail icon

Amazon Cognito is an identity platform for web and mobile apps. It’s a user directory, an authentication server, and an authorization service for OAuth 2.0 access tokens and AWS credentials. With Amazon Cognito, you can authenticate and authorize users from the built-in user directory, from your enterprise directory, and from consumer identity providers like Google and Facebook. For more details, refer to the AWS documentation.

Log and Metric types

Setup

You can collect the logs and metrics for Sumo Logic's Amazon Cognito integration by following the below steps.

Configure metrics collection

Configure logs collection

  • Collect Amazon CloudWatch Logs using AWS Kinesis Firehose for Logs source. You can configure your user pool to send detailed logs of some additional activity to a CloudWatch log group. These logs are of a finer granularity than those in AWS CloudTrail, and can be useful to troubleshoot your user pool. When you activate this feature, you can choose the log group where you want Amazon Cognito to send logs. User activity logging is useful when you want to find out the status of email and SMS messages that your user pool delivered with Amazon SNS and Amazon SES. Currently, you can only deliver error-level user notification logs from your user pool.

  • Collect AWS CloudTrail Logs using AWS CloudTrail source. Amazon Cognito is integrated with AWS CloudTrail, a service that provides a record of actions taken by a user, role, or AWS service in Amazon Cognito. CloudTrail captures a subset of API calls for Amazon Cognito as events, including calls from the Amazon Cognito console and from code calls to the Amazon Cognito API operations. If you create a trail, you can choose to deliver CloudTrail events to an Amazon S3 bucket, including events for Amazon Cognito. Using the information collected by CloudTrail, you can determine the request that was made to Amazon Cognito, the IP address from which the request was made, who made the request, when it was made, and additional details.

Legal
Privacy Statement
Terms of Use

Copyright © 2023 by Sumo Logic, Inc.