Enable Contributer Insights in API Gateway
- Enter the API Gateway service, choose API to enable Contributer Insights and enter the stage menu.
- Choose stage.
- Enter
Logs/Tracing
menu. - Enable
Log full requests/responses data
. - Save changes.
- Enter the CloudWatch service, and enter the
Contributer Insights
menu. - Start to create rule.
- Choose API Gateway log group.
- Choose rule type. There are sample rules for API Gateway like HTTP method, IP, etc.
- Choose log format. Recommands
JSON
. - Add contribution key like
pettype
. - Choose aggregation type.
- Click
Next
.
- Enter the rule name.
- Click
Next
.
Create rule.
You should be able to see a graph in a few minutes time.