Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any way to search across all log streams in a cloud watch log group?

In AWS console, I can search for a string in all log streams of a log group? Right now, I have to go inside each log stream and then do search which takes a lot of time, if I want to search across the log streams.

like image 447
hatellla Avatar asked Sep 27 '19 21:09

hatellla


People also ask

How do I search multiple CloudWatch logs?

To search all log entries for a time range using the consoleOpen the CloudWatch console at https://console.aws.amazon.com/cloudwatch/ . In the navigation pane, choose Log groups. For Log Groups, choose the name of the log group containing the log stream to search. Choose Search log group.

Can you tag CloudWatch log groups?

Tag log groups in Amazon CloudWatch Logs. You can assign your own metadata to the log groups you create in Amazon CloudWatch Logs in the form of tags. A tag is a key-value pair that you define for a log group. Using tags is a simple yet powerful way to manage AWS resources and organize data, including billing data.


1 Answers

Once you click the log group in the CloudWatch Logs console, but before you click into an individual log stream, there is a button at the top right of the page labeled "Search Log Group". Click that, and it will take you to a page where you can search across all logs in the log group in a given time frame.

enter image description here

like image 62
Mark B Avatar answered Nov 08 '22 08:11

Mark B