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 )

preguntada hace 2 años234 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas