AWS Amplify is a set of purpose-built tools and features that enables frontend web and mobile developers to quickly and easily build full-stack applications on AWS. For more details, refer to the AWS documentation.
Log and metric types
You can collect the logs and metrics for Sumo Logic's AWS Amplify integration by following the below steps.
Configure metrics collection
- Collect CloudWatch Metrics with namespace
AWS/AmplifyHostingusing the AWS Kinesis Firehose for Metrics source. For
AWS/AmplifyHostingmetrics and dimensions, refer to AWS Amplify CloudWatch metrics.
Configure logs collection
- Collect Amazon CloudWatch Logs for SSR apps using the AWS Kinesis Firehose for Logs source.
- Collect Access Logs using the Amazon S3 source. AWS Amplify stores access logs for all the apps you host in Amplify.
- Collect AWS CloudTrail Logs using the AWS CloudTrail source. AWS Amplify is integrated with AWS CloudTrail, a service that provides a record of actions taken by a user, role, or AWS service in Amplify. CloudTrail captures all API calls for Amplify as events, which includes calls from the Amplify console and code calls to the Amplify API operations. If you create a trail, you can enable continuous delivery of CloudTrail events to an Amazon S3 bucket, including events for Amplify.