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
-1
votes
1 answer

AWS CLoudWatch Log Trigger for Lambda

I have a problem in AWS regarding CloudWatch Log Triggers. I have two Lambda functions. One (business-lambda) gets triggered when I upload a file to a S3 bucket. The other Lambda function (log-lambda) is triggered whenever business-lambda encounters…
-1
votes
1 answer

Cloudwatch: event type syntax for monitoring S3 files

I need to create a cloudwatch event that runs a lambda function everytime my file in S3 gets updated/re-uploaded. What "eventName" should I use? I tried using "ObjectCreated" but it doesn't seem to work. Perhaps the syntax is…
-1
votes
1 answer

EC2 not sending logs to Cloudwatch

My Linux EC2 server used as a reverse proxy isn't sending logs to cloudwatch log groups. The EC2 server is created using rhel-cattle AMI. And the configurations are done using ansible playbook. I have checked the awslogs.logs file. There were only…
-1
votes
1 answer

How to access EC2 instance metadata service? From outside EC2

With the below configuration for AWS cloud watch: awslogs.conf [/var/log/messages] datetime_format = %b %d %H:%M:%S file = /var/log/messages buffer_duration = 2500 log_group_name = /var/log/messages log_stream_name = {cluster}{instance_id} and…
-1
votes
4 answers

Python ImportError while executing aws lambda

I have written AWS lambda in python to send message to sns topic. I am using aws code pipeline to deploy this code in clould. Running this lambda by calling api gateway. python code is as below: import boto3 from shared.environment import Env from…
-2
votes
3 answers

Filtering for email addresses in AWS Cloudwatch Logs?

I am looking to setup some CloudFormation stuff that is able to find any email addresses in CloudWatch logs and let us know that one slipped through the cracks. I thought this would be a simple process of using a RegEx pattern that catches all the…
1 2 3
57
58