aws logs create-export-task
Creates an export task so that you can efficiently export data from a log group to an Amazon S3 bucket. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--destination-prefixThe prefix used as the start of the key for every object exported.--destinationThe name of S3 bucket for the exported log data.--fromThe start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.--log-group-nameThe name of the log group.--log-stream-name-prefixExport only log streams that match the provided prefix.--task-nameThe name of the export task.--toThe end time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.