amazon-cloudwatchlogs Questions
1
I am running fluent-bit as a sidecar on my EKS cluster for an application to tail application log files and write events to CloudWatch Logs. Through CloudWatch Logs Insights, I then set up some que...
Doggery asked 1/7, 2022 at 2:37
2
Solved
First, I use the server environment:
sever: django + nginx + uwsgi
cloud: docker + AWS ECS
logging: AWS CloudWatch log service + watchtower third party app
I am using the watchtower third party...
Marylyn asked 1/6, 2017 at 6:12
5
Solved
I'm trying to configure the AWS Cloudwatch agent to run on vanilla Ubuntu 18.04, outside of AWS. Every time I run it, I get this error:
# /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-age...
Mullet asked 24/3, 2020 at 16:43
2
Solved
I am trying to use AWS Cloudwatch Logs insights in order to search in some quite old logs of our lambda functions. I am reading this guide on AWS docs, but nowhere is documented how you can filter ...
Peyter asked 16/3, 2020 at 14:22
4
Solved
When using console.log to add log rows to AWS CloudWatch, the Lambda Request ID is added on each row as described in the docs
A simplified example based on the above mentioned doc
exports.handler =...
Rhondarhondda asked 12/6, 2019 at 12:38
2
We use AWS CloudWatch Logs to debug our services running on AWS, and a number of the property names in our logs use colons as delimiters, but we can't figure out how to search using these property ...
Rest asked 27/3, 2017 at 21:18
2
Solved
Is there a way to send EMR logs to CloudWatch instead of S3. We would like to have all our services logs in one location. Seems like the only thing you can do is set up alarms for monitoring but th...
Bejarano asked 2/12, 2019 at 22:7
3
Solved
I have a Java application that runs in AWS Elastic Container Service. Application polls a queue periodically. Sometimes there is no response from the queue and the application hanging forever.
I ha...
Telegony asked 18/9, 2020 at 14:31
2
Solved
For logs sent to AWS cloudwatch-logs, I want to create metric filter separating a numeric field from the log matching pattern.
So as per documentation there is [w1=word_pattern1||word_pattern2, w2...
Erythrite asked 11/2, 2019 at 8:57
2
Solved
My docker-compose file:
version: '2'
services:
scraper:
build: ./Scraper/
logging:
driver: "awslogs"
options:
awslogs-region: "eu-west-1"
awslogs-group: "doctors-logs"
awslogs-stream: "scr...
Levitus asked 22/3, 2017 at 12:18
2
I'd like to know if possible to discover which resource is behind this cost in my Cost Explorer, grouping by usage type I can see it is Data Processing bytes, but I don't know which resource would ...
Kort asked 14/12, 2020 at 10:19
1
I use aws cloudwatch to collect aws ecs farget task's logs.
The config is in the following pic:
And I get the following logs, it is wired. Some lines with datetime is combined in one log. I think ...
Echeverria asked 23/3, 2022 at 6:6
4
Solved
I am new to AWS, I am getting {"message": "Internal server error"} while running the Lambda function with API Gateway in Postman.
I have checked the CloudWatchLogs, there is no error showing in th...
Warm asked 21/11, 2019 at 13:48
6
I am trying to parse log entries which are a mix of text and JSON. The first line is text representation and the next lines are JSON payload of the event. One of the possible examples are:
2016-07...
Aldarcie asked 24/7, 2016 at 21:25
2
Solved
I am trying to use aws log insights to run query on my log group that contains nginx log.
This is my log format that I have setup on my ec2 machine:
log_format main '$remote_addr - $remote_user [$t...
Naumann asked 10/11, 2020 at 10:8
2
I'm new with CloudWatch Logs Insights, and I cant figure out how to aggregate data by time range with 3 columns.
The log file I want to parse is json formatted :
{'ts': '12:01:00', 'method':'GET'...
Chic asked 6/3, 2019 at 13:24
2
I'm building a metric for the success rate of my API gateway and I'm trying to get more that 1-2 decimal places. I want to make sure that less than 99.9999% are successful. (Ultimately to set an al...
Unanswerable asked 25/2, 2020 at 9:37
2
I have Exported the aws cloudwatch Log Data to Amazon S3 Using the AWS CLI. Followed kb: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3ExportTasks.html.
Any idea how we can import the...
Craw asked 18/6, 2019 at 13:33
2
Solved
I'd like to retain CloudWatch logs after I spin down a bunch of resources created using terraform - which includes the CloudWatch log group. Is there a way to tell terraform destroy to spare some r...
Detailed asked 18/7, 2017 at 16:52
4
Solved
By default when I create a Lambda function, the CloudWatch Log Group is set to Never Expire. Is it possible to set the expiration (saying 14 days) so I don't have to set it manually from the consol...
Garlandgarlanda asked 28/7, 2017 at 4:36
3
Solved
We've configured a metric filter for a CloudWatch Log Group which collects data for one of our processes.
Initially, we had only one ec2 instance associated with the log stream of the log group. Th...
Axel asked 20/7, 2017 at 16:44
1
I have the following query with the following output:
Query:
filter @message like /A:|B:/
Output:
[INFO] 2020-07-28T09:20:48.406Z requestid A: [{'Delivery': OK, 'Entry': 12323 }]
[INFO] 2020-07-2...
Unmusical asked 30/7, 2020 at 12:20
1
Is it possible to create a metric that extracts a numeric value from a string in Cloudwatch logs so I can graph / alarm it?
For example, the log may be:
20190827 1234 class: File size: 64MB
I rea...
Sideburns asked 27/8, 2019 at 2:52
2
My multi-line logging events all end up multi-events - one event per line. According to the documentation:
Each call to LambdaLogger.log() results in a CloudWatch Logs event...
but then:
Ho...
Tithing asked 23/11, 2017 at 0:50
2
Solved
From the Features page of Amazon CloudWatch, it says there are three categories of logs:
Vended logs - natively published by AWS services on behalf of the customer
Logs published by AWS services
...
Heder asked 31/1, 2019 at 17:15
© 2022 - 2025 — McMap. All rights reserved.