CmdID / aws / aws lightsail
aws lightsail get-container-log
Returns the log events of a container of your Amazon Lightsail container service. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--container-nameThe name of the container that is either running or previously ran on the container service for which to return a log.--end-timeThe end of the time interval for which to get log data.--filter-patternThe pattern to use to filter the returned log events to a specific term.--page-tokenThe token to advance to the next page of results from your request.--service-nameThe name of the container service for which to get a container log.--start-timeThe start of the time interval for which to get log data.