Questions tagged [amazon-cloudwatch]

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

191 questions
5
votes
3 answers

Best way to log to two different CloudWatch log streams from an ECS container?

We are running our services on AWS's ECS platform, and we send our logs to AWS CloudWatch. We have two types of logs, any container can produce either type: the usual application logs (access, error, whatnot); these must be easily viewable by devs…
Bass
  • 601
  • 5
  • 8
5
votes
2 answers

Why does Amazon EC2 status check succeed for unresponsive instance?

DANGER! Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system. The steps I took: I created a t1.micro instance on EC2 running Ubuntu 14.01 LTS. I verified that both status checks passed. I…
Talia
  • 201
  • 1
  • 8
5
votes
2 answers

Amazon AWS RDS Burst Balance vs CPU Credit Balance

I'm trying to understand if I have spec'd my database appropriately. Below is a chart showing the WriteIOPS, CPUCreditBalance and BurstBalance for a t3.xlarge instance of SQL Server. It looks like I'm consuming my BurstBalance in another 15 hours or…
Sean
  • 153
  • 1
  • 1
  • 7
5
votes
1 answer

Cloudwatch Agent high CPU usage

We are using AWS Cloudwatch to monitor CPU usage, p99 latency for API calls etc. The problem is during peak traffic Amazon Cloudwatch Agent itself is having 25%-35% of CPU usage, thus largely contributing to the high CPU usage trigger. I have…
Ramki
  • 51
  • 1
  • 3
5
votes
1 answer

create a CloudWatch Alarm when an ECS service unable to consistently start tasks successfully

If I release a new Docker image with a bug to my ECS Service, then the service will attempt to start new Tasks but will keep the old version around if the new tasks fail to start. In that scenario, it will sometimes (not always) emit an Event to the…
Rich
  • 704
  • 14
  • 30
4
votes
1 answer

Is there a CloudWatch metric that corresponds to ALB data transfer usage/cost?

I have an Application Load Balancer whose data transfer cost I want to monitor. In Cost Explorer, I can filter on usage type "DataTransfer-Out-Bytes", and see how many GB of data it is sending, and how much that costs. However, it only shows the…
4
votes
1 answer

what is "period" column represent in AWS cloudwatch metric graph?

I created the number metric graph for lambda function like latency, the total number of invocation etc. I also created a custom metric filter which will give me errors and warnings count in logs for time range we specify. Everything is working and…
4
votes
1 answer

AWS cloudwatch not triggering lambda function

I am trying to create a scheduling system for my EC2 instances using lambda functions to start/shutdown the instances and Cloudwatch to trigger and schedule them. The problem is Cloudwatch, not triggering the lambda functions when the functions are…
4
votes
2 answers

Creating a CloudWatch Scheduled Event with arbitrary data in the `detail` field

I'd like to run a Lambda task on a fixed schedule, with some configuration passed into it by the CloudWatch Scheduled Event that triggers the task. Looking at the documentation here, I can see that Cloudwatch Scheduled Events look like this: { …
Chris
  • 347
  • 3
  • 6
  • 13
4
votes
1 answer

Unable to start task in ecs. Tasks are in PENDING state

My tasks are in PENDING status That's what I can see in the events There is not many information in the service events. Here is the task definition in json { "requiresAttributes": [ { "value": null, "name":…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
4
votes
1 answer

How to schedule an SNS topic

Is there another AWS service that would allow me to publish a Topic to SNS at in an arbitrary date in the future? I've looked into using Cloudwatch Events but that seems to be more for recurring events while I need one-time events.
jwerre
  • 768
  • 3
  • 12
  • 26
4
votes
1 answer

AWS ELB: cloudwatch metric for open connections?

I'm setting up ELB, and I'm having trouble finding a suitable metric to use to adjust the size of the pool. RequestCount doesn't work because some requests are much cheaper than others. Latency doesn't work because some requests are for…
4
votes
1 answer

AWS: Why is the bucket size on CloudWatch higher than when using S3 tools?

I use the awscli tools to verify the size of my buckets. First the S3 call (all files without versioning, just an ordinary upload): $ aws s3 ls s3://XXX --recursive --human-readable --summarize (...) Total Objects: 2 Total Size: 82.5 GiB Then I…
4
votes
1 answer

Per-instance alarms inside auto-scaling groups in CloudFormation

Basically what it ways on the tin, how can I create individual per-instance alarms inside an auto-scaling group created with a CloudFormation template? I can reference the ASG itself in an alarm and create ASG-level alarms, but cannot seem to…
Alex B
  • 1,714
  • 2
  • 18
  • 30
4
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
  • 215
  • 1
  • 4
  • 11
1
2
3
12 13