1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
You have 2 options:
-
If you have ALB in front of the application, you can get the HTTP error count from CloudWatch metrics https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-cloudwatch-metrics.html#load-balancer-metrics-alb
-
If you don't have ALB, you can first stream the application log to CloudWatch https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.cloudwatchlogs.html
Then, create a metric filter from the CloudWatch log https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringPolicyExamples.html. Then you can get the metric of the HTTP response code count from the logs.
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos