I have created an API using AWS api gateway. Under stages the “Log full requests/responses data” checked and “Enable CloudWatch Logs” is also checked.
When i look at the logs in cloudwatch i see some of the logs are “TRUNCATED”. In-fact all of the logs are truncating request and response
body. Is there any way to view the entire request/response.
Since there will be multiple integration points it make sense to see the entire logs.
Looks like it’s one of the known issues in AWS API Gateway.
API Gateway currently limits log events to 1024 bytes. Log events
larger than 1024 bytes, such as request and response bodies, will be
truncated by API Gateway before submission to CloudWatch Logs.