Questions tagged [amazon-cloudwatch]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
22 views

Mysterious, intermittent Read I/O on Ubuntu 18.04 based EC2 server - iotop shows no disk reads

I have an EC2 server based on Ubuntu 18.04. With CloudWatch detailed monitoring enabled I'm seeing spikes of Disk Read Operations that last less than 1 minute (shown as 1-minute spikes on the graph) ...
1
vote
0answers
18 views

How to monitor the disk space usage of an AWS elasticache redis cluster?

This is the reason behind this question: I am using a redis cluster on AWS elasticcache as a datastore. I do not enable eviction because I need to keep the data alive inside the redis cluster for as ...
0
votes
1answer
17 views

AWS Cloudwatch Pricing, what exactly is a metric and how many data points can you have

Disclaimer: I intended to ask this on the AWS Developer forum, but since I just created a forum account, I "might not be able to post messages for a few hours" and I'll surely be asleep by then and ...
0
votes
1answer
22 views

CloudWatch / Autoscaling - Remove Capacity Metric Alarm always shows in Alarm, how can I make it not

using the example from https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html I created an alarm to trigger pruning any unused auto-scaled instances. I'm a big fan of not ...
1
vote
1answer
28 views

AWS CloudWatch metric for EC2 security updates

Is it possible to create an AWS CloudWatch metric which keeps track of the pending security updates on an EC2 (Ubuntu) instance? The idea is to have a quicker overview of EC2 instances who are in need ...
2
votes
1answer
54 views

How can I get AWS cloudwatch logs into GCP stack driver logs viewer?

I have set up the "connector account" thing in Stackdriver, and I'm able to see metrics in GCP, which is super cool! I would now like to also get all cloudwatch logs into google's logging tool. Can ...
1
vote
1answer
22 views

How does AWS Lambda pass logs to CloudWatch Logs?

AWS somehow aggregate stdout and stderr of a lambda. I once bumped to a situation where a subthread of a lambda process stopped logging in the middle(using async technology was such a bad idea). I'm ...
0
votes
0answers
8 views

How can I send cloudwatch logs from multiple accounts to a clouwatch logs into central account?

I need some advice on implementing a data replication : I have 3 accounts where there is a CW log group with the same name, and my need is to implement a mechanism for a cross-subscription into a CW ...
0
votes
0answers
15 views

CPU + Memory utilisation suddenly drop to 0 on AWS EC2

I have a ECS task running on an EC2 instance within a VPC, therefore my debugging options are limited. It runs on a single thread (& core) at 100% utilization, then suddenly everything drops (...
0
votes
0answers
10 views

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, ...
0
votes
1answer
73 views

AWS solution to monitor events from external machines, reported by SNS?

We have a number of robots installed at various locations, and servicing customers. All robots get their instructions from a central cloud database with customer data, and each have an SQS queue which ...
0
votes
0answers
32 views

How to tell how many Aurora cluster replicas had been running at a particular time in a past?

I tried searching for various available metrics in an Aurora cluster in AWS. There seem to be no metric that tells you how many nodes in a cluster a given time? There is such a metrics per ELB, Target ...
0
votes
0answers
36 views

Aws coudwatch metrics convergence

We are in the process of setting up aws cloudwatch exporter(https://github.com/prometheus/cloudwatch_exporter) to export cloudwatch metrics to our prometheus server. When reading through the ...
-1
votes
1answer
168 views

AWS SNS Failed Notifications logging

I had some sns topics which is used for push notification.I want to enable sns topic logging for failed deliveries. Anyone have idea how can i achieve this ?? Thanks in advance
0
votes
1answer
95 views

Route 53 Health Checks and CloudWatch Event(s)

I have a Route 53 health check configured that is used to move a web site in and out of "maintenance mode" in the event that the checks fail. Works all very lovely and automated. The Route 53 health ...
1
vote
3answers
300 views

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,...
1
vote
0answers
57 views

AWS lambda add-permission --source-arn weirdness

I'm following this guide on setting up a lambda function to subcribe to log events. In step 5 you need to "Grant CloudWatch Logs the permission to execute your function" like this: aws lambda add-...
0
votes
0answers
54 views

Can I put custom events in the default event bus in AWS EventBridge?

Can I call PutEvents on the default event bus of AWS EventBridge to push custom events? I am trying at the moment but it doesn't seem to do anything (however I do not get an error). After reading a ...
2
votes
1answer
345 views

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 ...
0
votes
1answer
88 views

CloudWatch Alarm doesn't show Auto Scaling Groups

I'm trying to trigger an EC2 auto-scaling based on a CloudWatch alarm. I've created the auto scaling group in EC2 - same region and account - but when I try selecting it from the CloudWatch console, ...
1
vote
2answers
53 views

Create / Destroy EC2 instances for ECS tasks

I have various Fargate tasks. They work fine. I then have a few additional tasks that require more disc space than silly old Fargate will allow. These have to run on EC2 instances that I have assigned ...
0
votes
1answer
459 views

AWS EC2 Windows CloudWatch Agent to push memory and disk space metrics

I am trying to configure custom metrics for windows server in EC2. I need memory utilization and free disk space metrics from perfmon. So, the document says we can use AWS SSM and cloudwatch agent to ...
0
votes
0answers
111 views

How to show instance names in CloudWatch graph labels?

We have a couple of machines in AWS EC2 and are running the Amazon CloudWatch Agent on them to collect metrics. Instead of the default ImageId, InstanceId, InstanceType triplet, the agent is ...
0
votes
0answers
13 views

How do i know the maximum instantaneous amount of network traffic (in / out) of instances per subnet?

I've noticed that I can use Cloudwatch to see how much network (in / out) traffic my individual instances have. I want to know the instantaneous maximum traffic volume of A-subnet during a month. **...
0
votes
1answer
373 views

AWS Cloudwatch log filter on stream name

I'm trying to setup a lambda function to process logs from an AWS instance. To do that I'm configuring a CloudWatch Logs "trigger" as input to my Lambda function. The relevant configuration UI on AWS ...
0
votes
2answers
240 views

How to auto-terminate EC2 instances after 24 hours?

An auto-scaling group launches EC2 instances and it appears that instances that run roughly >24 hours begin to degrade in performance. The longest one was running for 3 days until I manually ...
0
votes
1answer
116 views

SQS Cloudwatch Metrics: difference between zero and no-data point at all?

Sometimes when looking at the AWS SQS Cloudwatch Metrics graphs like NumberOfMessagesSent, the graph plotted will show an actual data point at zero, and other times it won't show anything at all. ...
0
votes
1answer
55 views

Monitoring EKS Kubernetes LoadBalancer service Type

I have created few services in Kubernetes with type: LoadBalancer. Platform: EKS. Is there a way to get number of 4xx or 5xx errors from this LoadBalancer? I have tried the following: Prometheus -...
2
votes
1answer
58 views

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 ...
0
votes
1answer
94 views

Email notification when login attempt fails on RDS SQL Server DB

I need to get notified when there is an attempt to access our SQL database with the incorrect credentials. Is this something that I can do in AWS or do I need to do it in SQL Server? I can manually ...
0
votes
0answers
29 views

Start ECS before Lambda schedule

I have an AWS lambda function that needs to connect to a headless chrome instance running in a container on ECS. As the AWS lambda function is executed every hour with execution times around 2 ...
0
votes
1answer
42 views

How to manage AWS CloudWatch per-instance alarms for instances created with Auto Scaling?

I set up a per-instance CPUUtilization alarm on CloudWatch, which appears to require an instance ID. How do you add a per-instance alarm on instances that have been created with auto scaling? I would ...
2
votes
1answer
149 views

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 ...
0
votes
1answer
450 views

Creating an AWS Cloudwatch Alarm to monitor an AWS SQS Dead Letter Queue

I want create a CloudWatch Alarm that triggers every time a message is sent to an SQS Dead Letter Queue and then clears 5 minutes later, unless one or messages are sent in the interim in which case ...
0
votes
1answer
346 views

How to remove a cloudwatch event rule using aws cli?

I am using terraform destroy to destroy some resource. However it failed at this step: module.restore_db_from_snapshot.aws_cloudwatch_event_rule.event_rule: aws_cloudwatch_event_rule....
0
votes
1answer
44 views

AWS CloudWatch Alarms

I am new to AWS. I have a very basic question that needs binary answer. Situation: I've been using API Gateway, Lambda Functions, DynamoDB for about 3 weeks now. I use cloudwatch logs but never ...
1
vote
1answer
325 views

Lambda cloudwatch trigger in Terraform for Logzio

I can create a Cloudwatch Log trigger in the Designer section of the Lambda dashboard by following these instructions. Everything works as expected. But, I'm having a very difficult time setting ...
0
votes
0answers
29 views

Sending custom metrics to cloud watch

I want to execute the commands : java -XX:+PrintFlagsFinal -version | grep HeapSize free -m collect the output and send the collected output with instance id of the instance to cloud watch. I ...
0
votes
1answer
146 views

AWS Trigger Automation from CloudWatch scheduled event

I have the following event source type "schedule" - 20 18 ? * SAT *. The target is SSM Automation. I have the following option ticked "Create a new role for this specific resource". When I proceed to ...
0
votes
0answers
35 views

AWS Best way of sending mass text reminders?

I am trying to send a massive amount text message reminders that are stored in a MongoDB database that need to be sent at a certain time down to the minute (they will be sent using AWS). The current ...
2
votes
0answers
41 views

How can I count EC2 instances over time in AWS?

I want to know the number of EC2 instances I have running over time. I am able to view this data from the following menu: ec2 dashboard Auto Scaling Groups select my group from the table of groups ...
1
vote
0answers
141 views

AWS Cron Expression - all days @ 11pm but except last day of the month

I want to write a expression which I want to execute everyday @ 11pm but except last day of the months. Almost I tried all website I dont get answer to this - saying except last day of the month, it ...
1
vote
1answer
240 views

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()...
1
vote
1answer
2k views

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'; ...
5
votes
3answers
1k views

AWS S3 bucket size has exploded, but I can't figure out how

Something happened recently with one of our S3 buckets: I started looking for where all this extra stuff was coming from, but the metrics I gathered don't seem to match what is going on in CloudWatch ...
1
vote
0answers
413 views

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: ...
3
votes
2answers
201 views

AWS Route53 - Getting simple metrics such as “number of requests in the last 24hrs”

My goal is to get a simple "# of requests per day" value against a Route 53 hosted zone. I see no straightforward way to do this. I have created the query logging as explained here: https://docs....
-1
votes
1answer
905 views

(CRON) info (No MTA installed, discarding output)j though there is no cron job is scheduled

In my /var/log/syslog file I can see the above log is entered in every minute. Though I have checked my crontab and found nothing configured there to run. My /var/log/syslog is as follows: And the ...
0
votes
1answer
517 views

Trigger external API Calls with Cloudwatch Events

I am looking for a solution to make a POST Request to an External API when the state of an EC2 Instance changes. I want to use Cloudwatch so that I can pass the InstanceId to the API with the Input ...
4
votes
2answers
2k views

How to log AWS SES event details

For some reason I'm having trouble connecting the dots on how to do what seems pretty simple. How do I log all e-mail sent through the AWS Simple Email Service with specific message details? That ...