amazon-cloudwatchlogs Questions
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 ...
Beachlamar asked 30/10, 2023 at 15:41
2
I use AWS CloudWatch log agent to push my application log to AWS Cloudwatch.
In the cloudwatchLogs config file inside my EC2 instance, I have this entry:
[/scripts/application]
datetime_format = ...
Multistage asked 21/3, 2017 at 10:40
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...
Ordure asked 21/5, 2019 at 13:49
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...
Galactopoietic asked 20/1, 2020 at 16:6
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...
Delwin asked 4/8, 2020 at 20:12
3
Solved
When I configure DNS Query Logging with Route53, I can create a resource policy for Route53 to log to my log group. I can confirm this policy with the cli aws logs describe-resource-policies and se...
Palpitant asked 12/3, 2018 at 18:20
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...
Berthold asked 18/5, 2017 at 15:49
2
I have a Web Api (.Net Core 3.0), running on AWS Cluster (ECS), with EC2 instances. In task definition I've configured awslog driver in container to write logs to a certain log group / region.
I'm ...
Balfore asked 5/5, 2021 at 7:2
4
Solved
I have json-formatted CloudWatch logs whose entries resemble this:
{
"message": "resource_liked",
"context": {
"date": {
"date": "2021-05-...
Agrology asked 7/5, 2021 at 20:28
2
I initially tried with all the json policies in the below link.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-identity-based-access-control-cwl.html#customer-managed-policies-cwl
An...
Landgrabber asked 29/5, 2020 at 11:36
4
Solved
I'm just trying to create an alarm based on CloudWatch Logs Filter which triggers on multiple terms (or connected, not and) and is case insensitive
Using "error warning" as pattern is not working
...
Eskimo asked 4/3, 2017 at 18:6
2
I've been having issues setting up custom log file streaming to CloudWatch from my AWS Elastic Beanstalk project. For reference, I've tried the suggestions in "AWS Elastic Beanstalk: Add custo...
Sprinkler asked 28/3, 2021 at 18:54
2
I'm trying to understand what are the available claims I am able to access from the API Gateway when an user makes an authenticated request.
The API Gateway Mapping Template Reference (https://doc...
Theogony asked 16/5, 2018 at 16:20
2
is there a way to paginate AWS CloudWatch Logs Insights? Thank you.
I was thinking something like below but that doesn't work
fields @message | page 2 | limit 20
EDIT:
I am currently accessing the...
Probation asked 3/9, 2020 at 20:51
1
Solved
I am unable to send custom logs to Cloudwatch.
I have created /opt/aws/amazon-cloudwatch-agent/etc/shoryuken.json which contains
{
"logs": {
"logs_collected": {
"files&q...
Mulloy asked 3/8, 2023 at 15:35
5
I have a set of cloudwatch logs in json format that contain a username field. How can I write a cloudwatch metric query that counts the number of unique users per month?
Plutonic asked 26/6, 2017 at 17:48
6
A lambda can have a result that is either a success or an error.
I want to see the logs of lambda that errored. I am trying to do that via a CloudWatch Insights query.
How can I do this?
Rame asked 24/7, 2019 at 16:41
3
My Elastic Beanstalk environment is stopping streaming node.js events to CloudWatch Logs. Streaming works fine for a view minutes on a new instance. After a view minutes no more logs show up in Clo...
Cherub asked 7/3, 2017 at 10:49
7
I got a $1,200 invoice from Amazon for Cloudwatch services last month (specifically for 2 TB of log data ingestion in "AmazonCloudWatch PutLogEvents"), when I was expecting a few tens of dollars. I...
Meader asked 10/4, 2017 at 15:50
2
Solved
Is there a way to filter CloudWatch log streams by 'most recent' to oldest within the AWS console? I am having to scroll incredibly far down to get to my most recent log messages.
I have tried fi...
Wavawave asked 2/2, 2019 at 0:46
2
Solved
After about 1 hour of searching, I didn't find anything about 'how to submit a simple log to AWS CloudWatch Logs' from the frontend side. Almost all examples are for Node.js, but I need to submit t...
Porterfield asked 23/9, 2020 at 1:49
3
Is there any method in java to check whether a given Log Group and Log Stream exists, before getting log events from the Log Group?
Saunders asked 15/11, 2016 at 3:36
0
I want to create a line chart with two lines in AWS CloudWatch Logs Insights. One line representing mobile users and the other desktop users, showing a success rate for each group of users.
This th...
Amice asked 1/2, 2023 at 16:35
3
I was wondering if CLoudWatchLogs has a limit on the length of 1 line of logging. I checked the CloudWatchLogs Limit documentation page, but they do not specify anything regarding line length limit...
Impenitent asked 19/6, 2019 at 13:24
1
I want to use the following filter pattern - "error-res-received ". So on the configuration yaml file, I have have given FilterPattern: "\"error-res-received \"". But ...
Synaesthesia asked 3/1, 2023 at 16:12
1 Next >
© 2022 - 2025 — McMap. All rights reserved.