Questions tagged [amazon-cloudwatch]

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

183 questions
2
votes
1 answer

AWS CloudWatch alarm not populating data points - Insufficient state always

I am configuring CloudWatch alarm from the custom metric. Custom metric for disk space is configured, and I can see that every 5 minutes I am able to see the data. But when I set the alarm, the data points are not shown. For example: Image below is…
2
votes
1 answer

How to measure GB-seconds for AWS EC2

We are researching on the possibilities of moving our app from EC2 based implementation to AWS lambda. We are trying to project how much money we will be saving if we do so. The lambda pricing says it gives 400000 GB-seconds free per month and a…
2
votes
1 answer

In CloudWatch dashboard, how to include metric search in formula/sum

I'm trying to set up a CloudWatch dashboard to monitor total S3 storage usage. I can add each BucketSizeBytes metric, and then use an equation SUM(METRICS()), and see the total, but if I use a SEARCH() to include all the…
Isaac Freeman
  • 236
  • 1
  • 6
2
votes
1 answer

AWS RDS DB Connections 90+

I have a single db.m5.large RDS instance running in my aws setup. When I check for max connection from mysql console, with bellow query. mysql> show variables like 'max_connections'; …
2
votes
0 answers

AWS CloudWatch Log Being Hammered with 'multilineStarter is missing in logevent'

I have installed AWS CloudWatch Agent on one of my instances (windows) and I get in the agent log file this message: 2019-04-14T16:10:53Z W! multilineStarter is missing in logevent. multilineStarter: true And it is HAMMERING the log file - I get…
2
votes
1 answer

Audit logs for RDS MySQL not appearing in CloudWatch

I've been trying to get a MySQL instance on Amazon's RDS to send logs to CloudWatch: in particular, both error logs and audit logs. Error logs work fine, they're appearing in CloudWatch, no issues at all. For audit logs, I know I need to have the…
pat
  • 301
  • 1
  • 3
  • 9
2
votes
2 answers

How to use Input Transformer for CloudWatch Rule target SSM Run Command - AWS-RunShellScript

I am attempting to execute a script on one of our instances whenever a container's state changes. I am creating a target SSM Run Command with the document being AWS-RunShellScript (Linux) I would have thought I could somehow pass data from the…
Tyler Clendenin
  • 197
  • 1
  • 1
  • 10
2
votes
2 answers

syslog direct to AWS cloudwatch?

Is there a way to push POSIX syslog records directly to AWS cloudwatch? I know Cloudwatch can be rigged to look at the /var/log/messages files and similar. But is there a way -- a sylog.conf(5) setting, or a rfc5424 compatible listener, or some such…
2
votes
0 answers

Service Availability monitoring on AWS

Is it possible to display Service Availability (%) for metric i have on AWS, I am able to get graphs, but can't get availability for period selected.
GioMac
  • 4,444
  • 3
  • 24
  • 41
2
votes
1 answer

access to custom cloudwatch metrics using lambda+boto3?

I have a custom metrics, and I can get data from bash: aws cloudwatch get-metric-statistics --namespace System/Detail/Linux \ --metric-name LoadAverage1Min --start-time 2017-01-04T00:00:00 \ --end-time 2017-01-04T02:00:00 --period 60 --statistics…
Putnik
  • 2,095
  • 3
  • 23
  • 40
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
  • 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,641
  • 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…