# Customize Amazon API Gateway destinations for execution logs

DevFeed: [Customize Amazon API Gateway destinations for execution logs](<https://devfeed.tech/articles/customize-amazon-api-gateway-destinations-for-execution-logs-4661.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/compute/customize-amazon-api-gateway-destinations-for-execution-logs/>)

Author: Giedrius Praspaliauskas

Published: 2026-09-09T22:35:42Z

Content type: tutorial

Language: en

Sources: [AWS Compute Blog](<https://devfeed.tech/sources/aws-compute-blog.md>)

Topics: [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>), [Amazon CloudWatch Logs](<https://devfeed.tech/topics/amazon-cloudwatch-logs.md>), [log management](<https://devfeed.tech/topics/log-management.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [SIEM, Security, Observability](<https://devfeed.tech/topics/siem-security-observability.md>)

Tags: [amazon-api-gateway](<https://devfeed.tech/tags/amazon-api-gateway.md>), [amazon-cloudwatch-logs](<https://devfeed.tech/tags/amazon-cloudwatch-logs.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [intermediate-200](<https://devfeed.tech/tags/intermediate-200.md>), [logs](<https://devfeed.tech/tags/logs.md>), [observability](<https://devfeed.tech/tags/observability.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>)

## AI overview

This tutorial explains how to route Amazon API Gateway REST API execution logs to CloudWatch Logs, Amazon S3, or Amazon Data Firehose. It contrasts execution logs with access logs and describes their use for diagnosing authorization, validation, integration, mapping, and error-handling behavior.

## Source excerpt

Amazon API Gateway execution logs help you trace request processing step by step through your REST API stages. They capture authorization results, integration latency, mapping template output, and error details that are otherwise invisible at the API surface. When a production request fails in a way the access log cannot explain, the execution log is [...]