How can I see AWS Gateway logs for external calls?

Tomas Romero

I need to be able to see the logs for my calls on AWS API Gateway. When I perform the calls from within Gateway's Dashboard I can see them under the Logs section.

How can I see them for external call (e.g.: calls made using curl)?

I tried enabling CloudWatch but I can only see the metric, and not the actual log messages.

Mike76

The most likely reason for not being able to see API Gateway logs in CloudWatch logs is that you haven't specified the ARN of an IAM role that enables API Gateway to write information to CloudWatch Logs.

log role arn

You then need to explicitly enable logging on each Stage. You don't need to (re)Deploy the API, just Save.

Detailed instructions here: http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-stage-settings.html#how-to-stage-settings-console

Once enabled you will get a log group named "/aws/apigateway/welcome" with a log line confirming logs are enabled.

enabled

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

heroku - how to see all the logs

From Java

How can I set the AWS API Gateway timeout higher than 30 seconds?

From Dev

Where can I export AWS Cloudwatch Logs (for Loggly)?

From Dev

Where can I see the nodejs logs after I deployed on Google App Engine?

From Dev

How can I see my debug logs on Unity Android?

From Dev

Can I specify HTTP endpoint in a VPC as resource in AWS API Gateway?

From Dev

How can I see unavailable servers in Nginx logs?

From Dev

AWS API Gateway with external authentication

From Dev

How can I see a report of my AWS Bounced emails?

From Dev

Ubuntu SDK: How can I see error logs for my ubuntu touch app?

From Dev

Using the terminal, how can I see the directory (and files) in an external HDD attached via USB port?

From Dev

How can I deny public access to an AWS API gateway?

From Dev

How can I deny public access to an AWS API gateway while allowing access by only a specific role?

From Dev

Ubuntu SDK: How can I see error logs for my ubuntu touch app?

From Dev

How do I see the iptables logs in systemd

From Dev

How can I change the default gateway?

From Dev

In rails, how can I incorporate external api calls tied to model create/update that do not trigger upon db:seed?

From Dev

How to see mysql error logs?

From Dev

Using the terminal, how can I see the directory (and files) in an external HDD attached via USB port?

From Dev

Using Omniauth, how can I see the repositories of a user who logs in with Github?

From Dev

Where can I see the nodejs logs after I deployed on Google App Engine?

From Dev

How do I see the logs for the Xwayland server started by Gnome?

From Dev

How can I see previous logs with systemd?

From Dev

Where can I print out logs to see immediately in Android Studio?

From Dev

How can I accurately see how long it takes to write a file to an external medium?

From Dev

How can I get a Lambda using AWS Gateway to return HTTP error status code in C#

From Dev

How can I send data to aws lambda via aws gateway?

From Dev

How can I see system logs while booting up ubuntu?

From Dev

How can I get AWS Cognito login/logout to work properly with AWS API Gateway on Android?

Related Related

  1. 1

    heroku - how to see all the logs

  2. 2

    How can I set the AWS API Gateway timeout higher than 30 seconds?

  3. 3

    Where can I export AWS Cloudwatch Logs (for Loggly)?

  4. 4

    Where can I see the nodejs logs after I deployed on Google App Engine?

  5. 5

    How can I see my debug logs on Unity Android?

  6. 6

    Can I specify HTTP endpoint in a VPC as resource in AWS API Gateway?

  7. 7

    How can I see unavailable servers in Nginx logs?

  8. 8

    AWS API Gateway with external authentication

  9. 9

    How can I see a report of my AWS Bounced emails?

  10. 10

    Ubuntu SDK: How can I see error logs for my ubuntu touch app?

  11. 11

    Using the terminal, how can I see the directory (and files) in an external HDD attached via USB port?

  12. 12

    How can I deny public access to an AWS API gateway?

  13. 13

    How can I deny public access to an AWS API gateway while allowing access by only a specific role?

  14. 14

    Ubuntu SDK: How can I see error logs for my ubuntu touch app?

  15. 15

    How do I see the iptables logs in systemd

  16. 16

    How can I change the default gateway?

  17. 17

    In rails, how can I incorporate external api calls tied to model create/update that do not trigger upon db:seed?

  18. 18

    How to see mysql error logs?

  19. 19

    Using the terminal, how can I see the directory (and files) in an external HDD attached via USB port?

  20. 20

    Using Omniauth, how can I see the repositories of a user who logs in with Github?

  21. 21

    Where can I see the nodejs logs after I deployed on Google App Engine?

  22. 22

    How do I see the logs for the Xwayland server started by Gnome?

  23. 23

    How can I see previous logs with systemd?

  24. 24

    Where can I print out logs to see immediately in Android Studio?

  25. 25

    How can I accurately see how long it takes to write a file to an external medium?

  26. 26

    How can I get a Lambda using AWS Gateway to return HTTP error status code in C#

  27. 27

    How can I send data to aws lambda via aws gateway?

  28. 28

    How can I see system logs while booting up ubuntu?

  29. 29

    How can I get AWS Cognito login/logout to work properly with AWS API Gateway on Android?

HotTag

Archive