Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [amazon-cloudwatch]

Amazon CloudWatch is a web service that provides real-time monitoring to Amazon's EC2 customers on their resource utilisation such as CPU, disk and network. Use this tag to describe questions that discuss Amazon CloudWatch.

Filter by
Sorted by
Tagged with
20 votes
2 answers
8k views

Is it possible to set CloudWatch alarm for a combination of metrics?

For example, I want to trigger a CloudWatch alarm for the following: Number of messages sent - Number of messages deleted >= 6 The above is for AWS SQS metrics. And I want that metric to trigger AWS ...
user avatar
  • 2,726
13 votes
1 answer
2k views

How to communicate queue-based processing delays to non-technical team members?

I am responsible for a set of SQS queue-processing jobs with a scaling policy on the ApproximateNumberOfMessagesVisible CloudWatch metric. These jobs can fail to keep up with the amount of messages ...
user avatar
12 votes
1 answer
5k views

Is it possible to trigger an AWS Lambda function directly from CloudWatch alarm?

Currently, for triggering a lambda function in response to a CloudWatch alarm, I need to route the alarm via SNS, like this: AWS CloudWatch Alarm --> Send to a topic in SNS --> SNS topic ...
user avatar
  • 2,726
11 votes
1 answer
970 views

How to set up AWS Trusted Advisor alert for Service Limit warnings?

All I want in life is for AWS to shoot me an email when any of Trusted Advisor's Service Limits go to WARN or ERROR status. I've checked their guides, tried chatting with support and no one can get ...
user avatar
  • 4,102
9 votes
4 answers
9k views

How to track unused resources in AWS?

I have been using AWS for a while now. I always have the difficulty tracking AWS resources and how they are interconnected. Obviously, I am using Terraform but still, there is always ad-hoc operations ...
user avatar
7 votes
2 answers
974 views

How to change PagerDuty incident name?

I have AWS Cloudwatch hooked up with PagerDuty. Whenever an alert goes out, it goes to PagerDuty, which then sends us a message in Slack. The problem is, this is what it shows in the chat: ...
user avatar
  • 171
5 votes
1 answer
2k views

How to send SMS through AWS?

Can we send SMS through AWS for the below case? I have an application installed on Ec2 and that application runs few rules and may send SMS to end users if the rule conditions are met. I wanted to ...
user avatar
  • 636
5 votes
2 answers
190 views

How to scale-down in a multi-tenant environment?

Cloud environments in AWS allow for multi-tenancy managed by the user himself, classic example are container orchestrators such as ECS or Kubernetes. When you have two services, one needs memory ...
user avatar
5 votes
1 answer
966 views

How to set CloudWatch alarms for non-compliancy in AWS Config rules?

I have a set of rules in my AWS Config dashboard. And, I want to set a AWS CloudWatch alarm to be triggered whenever Config detects non-compliant resource(s). [The plan is to link that alarm to an ...
user avatar
  • 2,726
5 votes
0 answers
3k views

Is it possible to create AWS CloudWatch Metric Filters with dimensions? [closed]

CloudWatch Metric Filters are the recommended way to create custom metrics from Lambda functions. Sending the metrics directly from the lambda function to the CloudWatch api is the main alternative, ...
user avatar
4 votes
2 answers
3k views

CloudWatch trigger for a range of GuardDuty severities

I want to edit my CloudWatch rule so that it only triggers an SNS topic for "GuardDuty findings" that fall in the High severy range, defined by AWS as the value of the severity parameter in the ...
user avatar
4 votes
1 answer
3k views

How to get EC2 instance tags when pulling CloudWatch data?

For monitoring purposes, we're pulling AWS/EC2 instances statistics data from CloudWatch and save it to InfluxDB. We're using Telegraf to do this. However, when pulling the data from Cloudwatch, ...
user avatar
  • 141
3 votes
2 answers
2k views

What is the best way to find the Auto Scaling Group of an ECS cluster?

We are looking to inspect the ASG EC2 CloudWatch metrics such as CPU and Memory, since it includes an aggregate of all the ASG instances. Given that we know the ECS cluster, or the ECS service name. ...
user avatar
2 votes
1 answer
478 views

How I can retrieve aws lambda cloudwatch logs in txt format so I can search on them?

A lambda that I have deployed has gone wrong. Therefore, I want to look on logs and find out whats wrong about it. Hence I look upon cloudwatch logs for any error message. But the cloudwatch ...
user avatar
2 votes
1 answer
172 views

Mitigate false positives due to daylight saving time in CloudWatch anomaly dectector

For monitoring, I set up CloudWatch alerts based on CloudWatch anomaly detection. Overall, they work quite nicely, but they got confused when the clock gets shifted (summer timer to winter time). We ...
user avatar
1 vote
1 answer
111 views

Unable to send cloudwatch logs to loggly using a blueprint lambda - Invalid ciphertext

I am trying to use the loggly Lambda blueprint to send cloudwatch logs to loggly. I am doing this because I have a bunch of lambdas that I need to have a single point of viewing logs. I've followed ...
user avatar
  • 435
1 vote
1 answer
17 views

AWS RDS- Determine what Database Tables aren't interacted with?

Is it possible to have AWS-RDS (or another aws service) generate a report on databases that haven't been interacted with (write/read) after a certain period of time? My background is in QA and I'm ...
user avatar
  • 43
1 vote
1 answer
17 views

AWS Cloudwatch for unused accounts

Is there any possibility for getting a report on unused user accounts using cloudwatch ? Requirement : Need to get a report on the accounts which is unused for more than 30 days.
user avatar
1 vote
2 answers
458 views

AWS CloudWatch Logs Publisher plugin hangs on job completion

We use the AWS CloudWatch Logs Publisher plugin on our Jenkins and most of the time the logs are sent within 2-5 seconds of the request being sent out. However, sometimes the step will hang for up to ...
user avatar
  • 4,102
0 votes
3 answers
2k views

How to create custom AWS CloudWatch metric for i-node

I have created custom CloudWatch alarm for Disk Utilization for root and mount volume to monitor the disk space for my Ubuntu (16.04) instances, but quite often it happens that disk is only 60% full (...
user avatar
0 votes
1 answer
192 views

Custom metric for a Windows process on a Windows ec2 instance

I have a process (exe) on a Windows ec2 that is using up lots of memory. I would like to create a custom metric that will collect data and send to CloudWatch. I would like to also create an alarm when ...
user avatar
  • 1