API Gateway billing

0

How to find out which service is mostly using my API Gateway coming to the billing part? (My API gateway billing alarm was triggered )

1回答
0

There is no metrics for API Gateway to show which clients are sending how many requests. Do you have access logs configured for the API stage? If not, I recommend enabling that and log variables like $context.identity.user, $context.identity.userAgent (if user-agent header can be used to determine a service). Once the access logs are generated, you can use CloudWatch Logs Insights to run a query to count the number of requests per user or any other attributes in logs.

AWS
Taka_M
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ