Questions about request statistics in CloudWatch

0

Please tell me about request statistics in CloudWatch.

  1. I want to filter the total number of requests by source IP or API key and get a breakdown of the number of requests.
    Can I specify filter conditions for metrics?

  2. Can I get statistics on the number of error requests for specific status codes like '302', '403'?
    Also, can I get statistics on error status codes from API Gateway and error status codes from backend?

  3. I want to get statistics on the number of requests by status code.
    So, I have to set the x-axis to the status code and the y-axis to the number of requests.
    Can I change the x-axis to a dimension other than date range?

akazaki
preguntada hace 4 años344 visualizaciones
1 Respuesta
0

Hello:

Unfortunately none of the features you are requesting exist with API Gateway metrics out of the box, but can be achieved through the use of API Gateway access logs and metrics filters.

https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html

Regards,
Bob

EXPERTO
respondido hace 4 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