Questions tagged [amazon-cloudwatch]

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

191 questions
2
votes
1 answer

Viewing CloudWatch log metric filters for each individual log stream

I have a number of EC2 instances, each running a separate instance of my application. All log files are being streamed into CloudWatch, using the hostname of each EC2 instance as the log stream name, so I have multiple log streams for each log…
Alex
  • 121
  • 4
2
votes
1 answer

Get Ids of terminated EC2 instances

I'm trying to create a report about our EC2 instances usage and utilization over time. I would like to examine all of the instance that have or had been running in my environment for the past X days. As part of the report I would like to include…
Avi
  • 123
  • 1
  • 4
2
votes
0 answers

Is it possible to set a default time period in Cloud Watch?

I'm using Amazon Web Service's Cloud Watch tool to monitor server performance. Whenever I reopen our various Dashboards the time period is always set to the last 3 hours. For some dashboards this is a good default but for others, I'd like it to be a…
bryan kennedy
  • 1,721
  • 3
  • 16
  • 31
2
votes
2 answers

EC2 CPU Alarm Daily - Windows Module Installer

I have a small asp.net website (using SQLServer express) on an T2.micro AWS EC2 instance running Windows Server 2012 R2. This is a very low volume site. It has been operational for 2 years without any issues. I did Windows updates over the New Years…
2
votes
2 answers

AWS Cloudwatch alarm going off prematurely

I created an alarm to stop an instance and email me if it was idle for too long (avg. CPU Utilization < 2% for 3 hours). However in my testing I noticed that the instance was stopped after 1 hour. Attached is the report from the email: Alarm…
2
votes
0 answers

Single graph with multiple instance values for same metric?

I am having 10 tomcat servers running on separate EC2 instance. I can successfully create a graph for heap value of each tomcat server using the below command mon-put-data --metric-name Heapmetric --namespace cloud --dimensions "InstanceId=i-444444"…
user966320
  • 21
  • 1
2
votes
1 answer

Can I get AWS Service Health Alerts (text/email)?

Is it possible to receive AWS Service Health Alerts (text or email) for zones where I have my servers in? There was an issue in EC2 North Virginia Oct 15th and I would have like to have known there was an Amazon Service issue so I can tell my…
2
votes
0 answers

AWS CloudWatch Alarm on Max Average CPU from ASG

I am trying to create an alarm in CloudWatch which triggers when any node in a given ASG has greater than 90% average CPU utilisation. I don't want to just do MAX, because we often see short spikes to above 90%, where the AVG would still be ~80% for…
2
votes
1 answer

Inconsistency between CloudWatch alert and Container Insights

I am running a .NET 6 container in ECS Fargate. My task definition defines the task size: Task Memory: 1024 Task CPU: 512 The task has 2 containers running - the service and the envoy proxy. The containers define the following: .NET Service CPU…
Anthony
  • 113
  • 1
  • 10
2
votes
1 answer

How do I get more information about a CloudTrailAuthorizationFailures alarm

I am getting several of these alarms, so I decided to look at the event history in CloudTrail. However there are no events that I can see with error codes. I would've thought that events that cause the alarm would be in here. Question: So how do I…
Ash
  • 101
  • 4
2
votes
2 answers

Difference between display and fields directives in CloudWatch Logs Insights query syntax

What is the difference between display and fields directives in CloudWatch Logs Insights query syntax? These are descriptions from the AWS documentation that look very similar to me : display: Specifies which fields to display in the query…
illagrenan
  • 85
  • 1
  • 7
2
votes
1 answer

How can I search across CloudWatch log groups on AWS?

I have a number of lambda functions which run my serverless backend. Something somewhere is misbehaving, and I need to bring up/search all the logs from a particular time — from all log groups, not just a single one, or a single stream. Is there a…
2
votes
2 answers

Permissions for choosing tags in Cloudwatch

When trying to create a Cloudwatch dashboard I get "You don't have permission to access tags and properties. Retry". What permissions does my IAM account have to have in order to be able to search and choose from tags and properties from…
2
votes
2 answers

How do you get a metric of cloudwatch log group size?

I want to track and alert if my logs go awry. But I can't find a way of tracking the stored bytes for a log group. Is it possible to even add that as a metric?
Archimedes Trajano
  • 505
  • 2
  • 8
  • 20
2
votes
1 answer

Setting up autoscaling based on network throughput

I need help in setting up autoscaling based on network throughput. Our front instances are placed inside an autoscaling group. We want the number of instances to increase as a function of network throughput in the whole autoscaling group. i.e. Once…