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)
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
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.
Relevant questions
Is it possible to configure SNS email subject and body?
asked 2 years agoport-hour direct connect
Accepted Answerasked 2 years agoUsing Cloud Trail Console to view all events in multi-account CloudTrail ( created via Organizations )
Accepted Answerasked 18 days agoIs it possible to use an encrypted file system with CodeBuild?
asked 3 years agoI 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)
asked 11 days agoCorretto17 Runtime Availability (Lambda and CodeBuild)
asked 5 months agoconfigservice subscribe requires sns-topic, but console does not
asked 3 years agoAdd server side rendering to Angular/Amplify app
asked 3 years agoHow to Use CodeBuild and CodeDeploy to Deploy Lambda to Different Environments
asked 2 months agosecure access to RDS DB ans Sonar server from devs laptops
Accepted Answerasked 4 months ago