Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuring/viewing API Gateway logs #849

Open
jamesls opened this issue May 19, 2018 · 0 comments
Open

Add support for configuring/viewing API Gateway logs #849

jamesls opened this issue May 19, 2018 · 0 comments

Comments

@jamesls
Copy link
Member

jamesls commented May 19, 2018

While chalice can support retrieving logs from lambda via the chalice logs command, it's not possible to retrieve logs for API gateway. Additionally, creating a lambda function automatically creates a log group for you so there's nothing you need to do to configure logs.

It would be helpful to also have this same functionality for API gateway. This needs to be explicitly configured when creating your rest API. The other issue I remember running into is that you set a role that API gateway uses to push logs to cloudwatch, but this role is for your entire account. It's not clear to what extent chalice should set this up for you. You need a role configured or else you don't get APIG logs, but it may already be configured. We probably will need to add a few config options for the various use cases.

Originally requested in #841 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant