Amazon CloudWatch is a monitoring and management service for Amazon-hosted (AWS) cloud applications.
Questions tagged [amazon-cloudwatch]
191 questions
1
vote
0 answers
AWS RDS Slow Query, General, and Audit logs have disappeared. Enhanced Monitoring cannot be turned on
I had AWS RDS enhanced monitoring turned on in our Production and UAT RDS databases. These are connected to an ERP instance.
I went to look for slow queries while debugging a user issue, and the Audit, General, and Slow Query logs have…

J. Gwinner
- 141
- 1
- 7
1
vote
0 answers
Why are docker container logs sent from ec2 to cloudwatch in batches using awslogs driver?
I have three docker containers running; server, proxy server and a daemon checking for changes between two databases. I've used docker-compose and an ec2 instance for testing. I would like to stream the logs to AWS CloudWatch and have used awslogs…

Oliver Burdekin
- 111
- 1
1
vote
0 answers
Creating a custom CloudWatch Event to monitor every new commit for GitHub repository instead of CodeCommit repo state change
Could you please assist me in understanding if it is possible to create a custom CloudWatch Event to monitor every new commit for GitHub repositories instead of CodeCommit repo state changes? It has always seemed to me that cloudwatch events are…

Lbits
- 11
- 1
1
vote
0 answers
Zabbix integration with AWS and or Azure
I am trying to figure out direct integration between Zabbix and AWS CloudWatch or Azure Monitor. I have seen YT videos available to integrate Zabbix with grafana first and then integrate grafana with AWS or Azure monitoring solution. But I am just…

serverstackqns
- 764
- 3
- 16
- 42
1
vote
1 answer
amazon-cloudwatch-agent shuts down on every application reload
I have a Tomcat app on Elastic Beanstalk, and I want to send logs to Cloudwatch Logs. To that end, I set up log4j to write to file, and in .ebextension, amazon-cloudwatch-agent is installed and run.
commands:
# 00_download_and_install:
# …

f.khantsis
- 331
- 3
- 6
- 13
1
vote
1 answer
Distinguish virtual host in AWS CloudWatch Log Group entries
I am wondering how I can know what host an event in httpd's access/error logs corresponds with once that data is brought into CloudWatch. I use virtual hosts on apache. I currently have a file per vhost like…

ficuscr
- 115
- 8
1
vote
0 answers
Using CloudWatch to monitor concurrent users
I'm looking for a good way to monitor concurrent users in my server. The server's got a websocket connection, so it's easy to determine whether a user is connected or not. After looking into CloudWatch for a bit, I have a plan:
Every minute, each…

Waneck
- 145
- 4
1
vote
0 answers
Amazon CloudWatch Agent Logging Error and Output
I am having an issue with CloudWatch Agent on a specific EC2 instance. I have tested on several other instance with no issue.
I have attached the defined CloudWatch Agent IAM Role specified here to the instance (test instances as well):…

user665458
- 11
- 1
1
vote
0 answers
Can I monitor a rolling window using Cloudwatch?
What I'm looking to do within Cloudwatch dashboards is to monitor the performance of my application over 14 days, but re-evaluate that performance every hour. However, from everything I've tried so far, this doesn't seem to be possible within…

Slushysnowman
- 111
- 2
1
vote
0 answers
Auditd to CloudwatchLogs to IDS alerts?
I'm administering a relatively simple AWS stack with about 5 heterogeneous Linux EC2 instances. All instances already have been setup to ship important logs to Cloudwatch Logs. Now I want to setup a basic HIDS for this system covering all nodes.…

spinkus
- 188
- 2
- 16
1
vote
1 answer
Seeing Java Spring Boot logs from AWS Elastic Beanstalk in AWS CloudWatch
I'm reading the documentation but I'm not understanding simple Java application log access via CloudWatch from AWS Elastic Beanstalk.
I have a simple Java Spring Boot Application deployed on Elastic Beanstalk as a JAR file using the Java Corretto 11…

Garret Wilson
- 174
- 3
- 15
1
vote
1 answer
Push log files to AWS Cloudwatch
I have a log file (example: apilog.txt) inside my docker container running in an EC2 instance.
I need to push the content in that file to AWS Cloudwatch log groups.
How can I achieve this task .
Thanks in Advance

Bala krishna
- 111
- 2
1
vote
0 answers
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) and happen every 2-7 minutes (~12x / hr):
I have…

janoside
- 111
- 3
1
vote
1 answer
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 of security patches. By creating a metric for…

SolveSoul
- 113
- 5
1
vote
1 answer
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 curious who aggregate the logs. Is there some kind…

suzukimilanpaak
- 111
- 3