amazon-cloudwatch Questions

2

Solved

I am trying to connect my EC2 host setup inside a private subnet to publish logs to cloud watch. I have setup a VPC interface endpoint for com.amazonaws.us-east-1.logs. Both the interface end...
Volauvent asked 22/5, 2020 at 1:9

3

Solved

We use amazon-elastic-beanstalk to deploy part of our stack. We have just migrated our base platform from PHP 7.4 which uses Amazon Linux 2, to PHP 8.2 which uses Amazon Linux 2023. Default system ...

1

Solved

The AWS cli command logs is v useful for keeping up with what our instances are doing I use the following to view our application logs while: filtering out the HTTP requests filtering out the Heal...
Locomobile asked 20/5, 2021 at 14:11

3

Solved

We are publishing custom Cloudwatch metrics from our service and want to set up alarms if the value for a metric name breaches a threshold for any dimension. Here are the metrics we are publishing:...

4

Solved

I'm trying to organize a large number of CloudWatch alarms for maintainability, and the web console grays out the name field on an edit. Is there another method (preferably something scriptable) fo...
Zandrazandt asked 21/10, 2013 at 17:50

4

I have an AWS Lambda function written in python, and i need only the messages I log in CloudWatch Logs. I have tried the example given in watchtower, but it still didn't work. START RequestId: d0b...
Xenophobe asked 11/7, 2018 at 12:46

4

I'm following the instructions here https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html but it's not working as i'm expecting it to. I currently have the followi...

3

Solved

I have a log file which contains playerId values, some players have multiple entries in the file. I want to get an exact distinct count of to unique players, regardless of if they have 1 or multipl...

2

Solved

I am using AWS Cloudwatch Insights and running a query like this: fields @message, @timestamp | filter strcontains(@message, "Something of interest happened") | stats count() as interestC...
Mawkin asked 18/9, 2020 at 17:39

2

Solved

I have setup the following in Terraform. So two event rules, start_event at 8am and stop_event at 6pm. # Create cloudwatch event rules resource "aws_cloudwatch_event_rule" "stop_ec2_...
Strapping asked 10/12, 2020 at 2:33

8

I'm trying to grab logs from Cloudwatch with this CLI usage: cat cli-get-log-events.json { "logGroupName": "/aws/lambda/my-group", "logStreamName": "2019/03/30/[$LATEST]dec1626296d84819be42f2e...
Ret asked 30/3, 2019 at 22:33

2

I kinda struggle understanding what happens in our AWS CloudWatch alarms setup. We're watching the number of available nodes in ElasticSearch. The goal is to raise an alarm when available nodes is ...
Infante asked 26/8, 2020 at 15:43

16

Solved

I would like to send my users directly to a specific log group and filter but I need to be able to generate the proper URL format. For example, this URL https://console.aws.amazon.com/cloudwatch/...

3

Solved

I am trying to set up a demo environment to try out SQS as an AWS Event Bridge Source. I tried uploading few documents to SQS to see if Event Bridge detects any change, but I don't see any events t...

2

I have been trying to get logging to work on AWS Cloudwatch but have been unsuccessful so far. I am running a python flask backend on Fargate and handling logging through Cloudwatch. Only error mes...

5

I have a lambda which has a log group, say LG-1, for which retention is set to Never Expire (default). I need to change this Never Expire to 1 month. I am doing this using CloudFormation. As the lo...
Viperish asked 13/3, 2019 at 8:55

4

Solved

Using Cloudwatch you can monitor your EC2 instances by several criteria, such as network usage, CPU usage, and so on… Unfortunately, there is no metric for memory consumption. First of all, just o...
Ethnology asked 18/2, 2017 at 15:27

3

Solved

Recently AWS announced that Cloudwatch alarms can use Math Expressions on metrics. I decided to create an alarm that compares the SUM of 2 single metrics with a given threshold. This means that acc...

2

I'm trying to setup Amazon Cloud Watch as a remote logging destination for some C# applications I am working on. One thing that is not clear to me is the difference between a Log Group and a Log St...
Batha asked 20/8, 2014 at 18:50

3

We have recently huge cost increasing (x8 times) on CloudWatch GetMetricData operation. We have a lot of log groups and different teams on the same Aws Account. Do you know how could we find out th...

11

Solved

I have recently started to use AWS Lambda to use triggers against some python code I have written. I currently have 2 lambda functions, both of which have been created with ZIP files. The second on...

2

Solved

QUESTION SUMMARY How to download a complete log from CloudWatch using CLI tools? The log that I download is incomplete. I know this because if I reverse the order, using --start-from-head, I get ...
Britneybritni asked 3/12, 2018 at 18:13

2

Solved

I'm trying to add a Container Insight to my EKS cluster but running into a bit of an issue when deploying. According to my logs, I'm getting the following: [error] [output:cloudwatch_logs:cloudwatc...

1

I am using a AWS Batch job , which triggers an ECR Image ( Docker Image containing python code) and the batch logs to Cloudwatch. As per the code inside Docker, I am using print command to log as s...
Lyndel asked 31/12, 2021 at 12:52

6

Solved

How to add custom logs to CloudWatch? Defaults logs are sent but how to add a custom one? I already added a file like this: (in .ebextensions) files: "/opt/elasticbeanstalk/tasks/bundlelogs.d/a...

© 2022 - 2024 — McMap. All rights reserved.