1 Answers
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.
answered 2 months ago
Relevant questions
How to migrate only postgres data using EBS volumes
asked 4 months agoUsing CloudWatch for traffic monitoring on EBS
asked 2 months agoCan I reduce an over-sized EBS volume?
Accepted Answerasked a month agoStorage Burst Balance - Cloudwatch Alarm - EBS, EFS, etc.
asked 8 months agoRoute53 - Manual Update of IP address for A record of EBS Environment
asked 2 months agoMSK ebs snapshot
asked 2 years agoHow do I report a bug present with EBS snapshot feature in "AWS console"?
asked 4 months agoExposing .NET Core Web API on IIS on EC2 instance
asked 18 days agoTotal EBS Volume for an AWS Account
asked 5 years agoCan't delete EBS app or env
asked 2 months ago