Questions tagged [amazon-cloudwatchlogs]

Amazon CloudWatch Logs allows aggregation and management of log events sent to it by AWS or custom services. Use this tag when asking about log groups, log streams, and metric filters. Use amazon-cloudwatch instead when asking only about CW metrics or CW alarms.

Amazon CloudWatch Logs allows aggregation and management of log events sent to it by AWS or custom services.

Usage Guidance

  • Use this tag when asking about log groups, log streams, metric filters, etc.
  • Do not use this tag when asking only about CW metrics or CW alarms; use instead.

Resources

862 questions
0
votes
1 answer

API Gateway Cloudwatch advanced logging

I am trying to get to the point of billing for API calls made to our services, this includes creating metrics for each API Key usage, but before I even start that I would like to understand a certain aspect of the CloudWatch logs first. In this…
0
votes
1 answer

Receive logs from AWS SNS

I got severals cloudwatch filter for cloudtrails logs, for example: { ($.eventName = "ConsoleLogin") && ($.additionalEventData.MFAUsed = "No") } Each filter trigger an alarm and I receive an SNS notification on my mailbox telling me something like…
0
votes
0 answers

AWS: CloudWatch logs service(cwlogs): database / disk full: database locked

I am getting following errors in my logs. Though it's giving 2 errors , very likely it's not because of disk / database space issue and seems more of database locking problem. I researched and found that cwlogs write history records within sqlite db…
0
votes
1 answer

Cloudwatch Metric showing wrong value

I have an application publishing a custom cloudwatch metric using boto's put_metric_data. The metric shows the number of tasks waiting in a redis queue. The 1-minute max shows '3', 1-minute min shows '0' and 1-minute average shows '1.5'. It seems…
Ger
  • 754
  • 1
  • 9
  • 33
0
votes
1 answer

Cloudtrail to Cloudwatch to other account

I got 4 aws accounts, and i want to centralise all my logs into a single accounts for security purposes. Meaning collect cloudwatch logs from account prod, dev and perf into an account called logs. Ideally they would end up in cloudwatch in the…
0
votes
1 answer

lambda function logs are not properly logged in cloudwatch

I am calling lambda function from home automation skill set. When i test my lambda function using Test button, all expected logs are written in cloudwatch, but in real scenerio, there are no logs on cloudwatch. Can someone suggest why?
0
votes
0 answers

Problems while monitoring Application Logs Errors using AWS CloudWatch

I have utilized the facility of Cloud Watch custom metrics to monitor the application logs of my virtual machines. I have successfully done that and created alarms in such a way that, if the SUM of errors is more than 5 in the past 5 minutes, I…
prudhvi
  • 1,141
  • 6
  • 23
  • 46
0
votes
0 answers

Configure CloudWatch log to a running instance programmatically

I just tried to configure the cloudwatch to a running ec2-instance(windows) , manually using the steps given in aws-cloudwatch-documentation and ended successfully. the cloud watch log groups are created and the logs are being logged correctly. …
0
votes
2 answers

EC2Config Cloudwatch logs streaming not working

I was hoping someone could help with this, I'm trying to stream logs from a Windows Server 2012 with EC2config service installed. I have followed the following…
0
votes
0 answers

Amazon SNS Service Push Notification delivered or not

I am using Aws SNS to send notification, and sending notifications to different topics and is working perfectly. When i publish notification, i got array like object(Aws\Result)#84 (1) { ["data":"Aws\Result":private]=> array(2) { …
0
votes
1 answer

How to specify the ARN of an IAM role that enables API Gateway to write information to CloudWatch Logs in boto SDK?

Manually it can be done when you go to setting on API Gateway page and adding an IAM role (https://console.aws.amazon.com/apigateway/home?region=us-east-1#/settings). But I dont know which API to use it for python sdk.
user6259875
0
votes
1 answer

com.amazonaws.transform.JsonErrorUnmarshaller: method (Ljava/lang/Class;)V not found

We are using a library called logback-ext-cloudwatch-appender to send our logback-based logs to AWS Cloudwatch. This is what the dependency looks like in our pom.xml file. org.eluder.logback
0
votes
1 answer

Cloudwatch logs "The remote name could not be resolved: 'logs.eu-west.amazonaws.com' when logging via NLog

I had the thought of creating a custom Nlog target to send logs to CloudWatch Logs, seems straightforward enough but when I run my tests locally I get the following error - "WebException: The remote name could not be resolved:…
Keir
  • 483
  • 3
  • 10
-1
votes
1 answer

"Error: module 'pyodbc' has no attribute 'connect'\""

I wanted to integrate S3 and event bridge trigger for lambda function to stored the particular logs from cloud watch to SQL Server management database so for that I'm using Pyodbc library. File name: lambda_function.py import json import os import…
-1
votes
1 answer

AWS Lex - Cloudwatch Logs

Have a weird case. I have configured Amazon Lex Bot (V2) and have created Twilio Channel to integrate with WhatsApp. The Bot is working all fine on WhatsApp. I have enabled Text Conversational logs and see that the logs are recorded only for one…
1 2 3
57
58