aws logs get-log-events
Lists log events from the specified log stream. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--end-timeThe end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.--limitThe maximum number of log events returned.--log-group-identifierSpecify either the name or ARN of the log group to view events from.--log-group-nameThe name of the log group.--log-stream-nameThe name of the log stream.--next-tokenThe token for the next set of items to return.--start-from-headIf the value is true, the earliest log events are returned first.--start-timeThe start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.--unmaskSpecify true to display the log event fields with all sensitive data unmasked and visible.