Download full cloudwatch log via console

0

Can AWS please add an option to download a full cloudwatch log via the console ? OR Can AWS add an option to do a search for a string and show the results in context to the file AND have the ability to continue scrolling through the logs from a point found by a search.

It is odd that we have to revert to external tools like awslogs. This should be part of cloudwatch. Logs are mainly used for finding issues.. without context they are useless.

clogwog
已提问 2 年前6497 查看次数
1 回答
-1

From GPTChat:

how can i download a logfile from AWS cloudwatch ?

To download a log file from AWS CloudWatch, you can use the AWS Management Console or the CloudWatch API. Here is a brief overview of the steps for each option:

Using the AWS Management Console:
-Sign in to the AWS Management Console and open the CloudWatch console.
-In the left navigation pane, choose Logs.
-Select the log group that contains the log stream you want to download.
-Select the log stream that contains the log events you want to download.
-Choose the log events that you want to download. You can select a time range or use the search box to find specific log events.
-Choose Download.
-Choose Save File to save the log file to your local computer.

Using the CloudWatch API:
-Use the GetLogEvents API to retrieve log events from a log stream.
-Use the downloadLogFile API to download a log file from a log stream.
-For more detailed instructions and information, see the AWS documentation on downloading logs from CloudWatch.
clogwog
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则