Questions tagged [amazon-cloudwatch]

Amazon CloudWatch is a monitoring and management service for Amazon-hosted (AWS) cloud applications.

183 questions
3
votes
2 answers

AWS Route53 - Getting simple metrics such as "number of requests in the last 24hrs"

My goal is to get a simple "# of requests per day" value against a Route 53 hosted zone. I see no straightforward way to do this. I have created the query logging as explained here:…
emmdee
  • 1,935
  • 9
  • 35
  • 56
3
votes
1 answer

CodeBuild behind VPC can't access CloudWatch endpoint

I have a CodeBuild project that is setup to use a VPC so it can access RDS. I setup a "VPC Endpoint" for com.amazonaws.us-east-1.s3 so CodeBuild can access CodePipeline output artifacts. This is working fine, but now nothing is output in the "Build…
twiz
  • 305
  • 2
  • 11
3
votes
2 answers

Cloudwatch logs - audit user access

I have a list of users in .passwd and access_log being uploaded to Cloudwatch. I need to make weekly report who from this list did access to server. Is there any way to automate this rather than checking logs manually for each user? There are…
3
votes
1 answer

Cloudwatch event for changes in ALB target groups

I have a lambda function that copies the targets (IP addresses in this case) from one target group to another (deleting any in the second target group that don't appear in the first). This gives us 2 target groups that always match each other. The…
theduck
  • 213
  • 2
  • 6
3
votes
2 answers

Amazon AWS Elastic Beanstalk EBS Logs To Cloudwatch (Multi Docker Env)

I would like to view all my logs in cloudwatch. I currently have a multi-docker Elastic beanstalk environment. I have selected for the logs to push to cloudwatch by going to Elastic Beanstalk > App > Env > Configuration > Software Configuration >…
3
votes
0 answers

Deploying CloudWatch Agent Config to Elastic Beanstalk

I have two environments (production, staging) within an Elastic Beanstalk environment and wanted to set up CloudWatch Agent logging for the EC2 instances being used with these environments. When reading the EB Cloudwatch logs how to, the process…
3
votes
2 answers

Cloudformation ELB Cloudwatch Alarms InsufficientData

I have setup a bunch of cloudwatch alarms for my service using cloudformation. All my alarms work except for the ELB alarms. They always just show insufficient data. I can go into the console and setup the alarms manually but I want to be able to…
3
votes
1 answer

How to launch EC2 instance with preconfigured AWS Alarm

I wan't to kill a specific instance when some of it's hardware consumption metrics reaches a certain level. If i create an alarm for the scaling group (setting maximum cpu consumption threshhold to >=50 for example) it will kill the oldest instance…
3
votes
2 answers

Cloudwatch alarms strange behavior

We're implementing some new alarms recently that needs to monitor CPU for 1 min period. Alarms are acting in very strange way. They show Good status for a min and for the min after they show Insuffucient data sign Reason: Insufficient Data: 1…
Bassam Gamal
  • 250
  • 4
  • 12
3
votes
1 answer

AWS CloudWatch Dashboard for Large Screen Display with Alerting

Does anyone know of a good solution that provides a monitoring and alerting Dashboard for Amazon Web Servics (AWS) CloudWatch service which can used on large screen displays? The system should use the CloudWatch API, not need an agent to be…
3
votes
2 answers

Auto scaling AWS EC2 instances based on memory utilization

I am setting up auto scaling based on memory consumed by the particular instance. I went through the link posted at awsforums. I was able to set my metrics and using the bash script given and with the same variables. In figuring out how to set auto…
Jeevan Dongre
  • 711
  • 2
  • 15
  • 33
3
votes
1 answer

archive and visualize amazon ec2 cloudwatch metrics

How do you backup your ec2 cloudwatch metrics? How do you visualize different measurements with different scales at once, like cpu% and i/o? How do you combine your application server metrics (like 'viewed products per hour') with cloudwatch metrics…
Jan
  • 131
  • 3
3
votes
1 answer

CloudWatch Agent procstat - get status about all nodejs processes separately

I'm trying to get process level monitoring going for an EC2 instance with a bunch of small nodejs services on it. Right now I am using this configuration: { "metrics": { "metrics_collected": { "procstat" : [ …
Christopher Reid
  • 253
  • 1
  • 3
  • 12
3
votes
1 answer

CloudWatch InSights: how to extract/query all JSON array elements at once as a list

My company has started using JSON logging in order to better support CloudWatch InSights queries on AWS. The queries are quite easy to work with, except when we are dealing with array data. For example, if we have a log entries like the…
Michael Oryl
  • 185
  • 1
  • 1
  • 10
3
votes
1 answer

AWS Cloudwatch Pricing, what exactly is a metric and how many data points can you have

Disclaimer: I intended to ask this on the AWS Developer forum, but since I just created a forum account, I "might not be able to post messages for a few hours" and I'll surely be asleep by then and forget I was going to ask this tomorrow.... I've…
dangel
  • 69
  • 11
1 2
3
12 13