I would like to know easy way to start from the first line of log for the code-build execution (either in code-build console or cloudwatch-log console)

0

Hi,

I would like to know easy way to start from the first line of log for the code-build execution (either in code-build console or cloudwatch-log console)

My case, I had run the code-build, there are loads of logs (probably 100 of clicks on show previous logs, might take me to the first line of log, alternative clicking on view entire log, takes me to cloudwatch log, still no good way to go the first line of log for this loggroup (code-build execution)

Thanks Ajay Kasam

1개 답변
0

Hello Ajay,

In CodeBuild, the build logs first show the last 1000 lines of log and you can click the "show previous logs" up to the last 10,000 lines.

A quick way to view the logs starting from the beginning is to use the "--start-from-head" option of the get-log-events CLI command. This would return the earliest log events first. You may also use subscription filters to view the log events in real time, see How do I retrieve log data from CloudWatch Logs for additional information.

AWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠