Posted On: Apr 27, 2020
You can now use Amazon Step Functions to log workflow execution history to CloudWatch Logs, which make it faster and easier to monitor event-driven, serverless workflows. You can select different levels of logging, and also have the ability to exclude the logging of a workflow’s payload.
Amazon Step Functions allows you to build resilient workflows using Amazon Web Services services such as Amazon Lambda, Amazon Batch, and other Amazon Web Services services. You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon Lambda, Amazon EC2 instances, and other sources. Using Amazon Step Functions with CloudWatch Logs, you can generate and visualize state machine execution metrics using Metric Filter Patterns and CloudWatch Dashboards, set up alerts on log-based metrics, and search log events using CloudWatch Logs.
You can get started with CloudWatch Logs for standard workflows using the Amazon Web Services Management Console, Command Line Interface (CLI), or SDK. Amazon Step Functions support for CloudWatch Logs with standard workflows is available in in Amazon Web Services China (Beijing) region, operated by Sinnet and Amazon Web Services China (Ningxia) region, operated by NWCD.
To learn more, read the Logging Using CloudWatch Logs in the Amazon Step Functions Developer Guide.