Logs and tracing
Innovation Sandbox emits structured JSON logs from all Lambda functions into Amazon CloudWatch Logs. Each log entry includes a correlation ID, the originating Lambda function, and searchable properties such as account IDs, lease IDs, and user emails.
Log retention strategy
The solution implements a multi-tier log retention strategy:
| Tier | Retention |
|---|---|
|
Amazon CloudWatch Logs |
90 days (default) |
|
Amazon S3 Standard |
1 year (default) |
|
Amazon S3 Glacier |
6 additional years (default) |
Logs are automatically exported from CloudWatch to S3 every 7 days. The 90-day CloudWatch retention provides sufficient time for operational troubleshooting, while S3/Glacier archiving supports compliance with typical audit and regulatory requirements.
Pre-populated log queries
Innovation Sandbox provides several pre-populated Amazon CloudWatch Logs Insights queries to help you troubleshoot issues.
To access log insights queries:
-
Sign in to the Amazon CloudWatch Logs Insights console
. -
Choose Saved and sample queries.
-
From the sample queries, run one of these queries:
-
LogQuery — Search for all logs related to a specific account, lease, lease template, or user.
-
ErrorLogs — View all recent errors. Some
WARN-level entries are expected operational events (for example,AccountQuarantinedandLeaseRequestRateLimited), not solution errors. -
AccountCleanupLogs — View the logs from a specific cleanup execution.
-
AWS X-Ray
Innovation Sandbox includes AWS X-Ray