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
1 vote
1 answer
93 views

Beginner Uptime Calculations Based on ELB?

Is there a clear way to calculate starting uptime metrics from AWS ELB? I need to start running uptime calculations. I'd like to start by just using AWS services for monitoring the uptime and then ...
13 votes
2 answers
7k 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 ...
1 vote
0 answers
161 views

Get Byte Size of Individual Log in Log Insights

I am looking at a given LogGroup within the Log Insights. I can filter the logs by a field. e.g. fields @message | sort @timestamp desc | filter time < 3 How can I find out how much much data ...
2 votes
1 answer
1k 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 ...
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 (...
1 vote
1 answer
164 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 ...
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. ...
11 votes
1 answer
1k 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 ...
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 ...
3 votes
1 answer
258 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 ...
1 vote
1 answer
34 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.
1 vote
1 answer
22 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 ...
0 votes
1 answer
234 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 ...
11 votes
4 answers
15k 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 ...
9 votes
2 answers
2k 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: ...
23 votes
2 answers
9k 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 ...
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 ...
1 vote
2 answers
539 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 ...
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 ...
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, ...
5 votes
2 answers
217 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 ...
4 votes
1 answer
4k 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, ...
5 votes
1 answer
1k 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 ...