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.
I would like to parse the below json to a tablular table as the below.
```
time="2024-05-17T12:40:02Z" level=info...
1
answers
0
votes
73
views
asked 6 days agolg...
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
157
views
asked 10 days 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
153
views
asked 16 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
94
views
asked 21 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
120
views
asked a month 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
311
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
278
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
396
views
asked 4 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
390
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
210
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
303
views
asked 6 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
467
views
asked 6 months agolg...