Questions tagged with CloudWatch Logs Insights
Content language: English
Select up to 5 tags to filter
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
The code running on AWS Lambda prints the logs properly on Cloudwatch using the logging library.
```
import logging
logger = logging.getLogger()
logger.setLevel(logging.INFO)
logger.info(f'Some...
1
answers
0
votes
96
views
asked a day agolg...
I got an alarm email that I'm at 85% of the CloudWatch free tier:
5.0 GB are always free per month as part of AWS Free Usage Tier (Global-DataScanned-Bytes)
What is Global-DataScanned-Bytes? There...
2
answers
0
votes
105
views
asked 7 days agolg...
CloudWatch documentation on page https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax-operations-functions.html shows the existence of a replace command but there is no example of...
3
answers
0
votes
83
views
asked 12 days agolg...
How to convert a string value to a number in the CloudWatch Logs Insights query.
My Object
```
{
"readonly": false,
"value": "30",
"key":...
1
answers
0
votes
101
views
asked 21 days agolg...
Hi 👋🏽
in CloudWatch Logs Insights I can aggregate my data and bin it. For example:
```sql
fields @timestamp, fullName, @message, @logStream, @log, repository
| filter correlationIds.httpMethod =...
0
answers
1
votes
305
views
asked 2 months agolg...
Hi All,
i have multiple databases setup in my RDS(i.e postgresql) i have a requirement that i have to implement database active monitoring for my this databases , need some help on how can i implement...
1
answers
0
votes
250
views
asked 3 months agolg...
How can I differentiate cost associated with certain CloudWatch dashboards with some identifier (e.g., Tags).
If I have 5 CloudWatch dashboards and I want to know cost associated with 2 specific...
2
answers
0
votes
385
views
asked 3 months agolg...
I am using Cloudwatch Logs Insights in this manner:
```
fields @timestamp, @message, @logStream, @log
| filter @logStream='xxxxxxxx'
| filter field1="yyyyyyy"
| sort @timestamp...
2
answers
0
votes
381
views
asked 4 months agolg...
I am running a small EC2 server (t3.small) with 4 very simple Wordpress websites and very little traffic. The Wordpress database is running on RDS. There really shouldn't be much load on the server....
1
answers
0
votes
201
views
asked 5 months agolg...
I have enabled flow-log for the network interface. I can see logs for a given network interface in S3, but it is difficult to collect all logs so I query them in logs insights using the...
2
answers
0
votes
291
views
asked 5 months agolg...
Hi,
I'm tryin to display the log entry timestamp in epoch format using boto3 logs query function.
Documentation instructs to use '`toMillis( @timestamp)`' , however 'toMillis( ) displays an...
1
answers
0
votes
445
views
asked 5 months agolg...
Hi,
I have a log insight query in that there is field named as instance_id it contains just 2 or more ec2 instance id's. I have a requirement of separating each ec2 instance in to a new field .
...
1
answers
0
votes
343
views
asked 6 months agolg...