aws logs filter-log-events
Lists log events from the specified log group. AWS CLI reference
12 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.--filter-patternThe filter pattern to use.--interleavedIf the value is true, the operation attempts to provide responses that contain events from multiple log streams within the log group, interleaved in a single response.--limitThe maximum number of events to return.--log-group-identifierSpecify either the name or ARN of the log group to view log events from.--log-group-nameThe name of the log group to search.--log-stream-name-prefixFilters the results to include only events from log streams that have names starting with this prefix.--log-stream-namesFilters the results to only logs from the log streams in this list.--next-tokenThe token for the next set of events 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.