In the CloudWatch Logs Insights console, in the upper right of the query editor, there is a calendar icon. When you click on the calendar icon, you can select the Absolute tab and input your desired start and end date-times.
If you want to specify a date-range via the API or AWS CLI, you can first save the query, then specify the range as arguments to the start-query method.
Filtering CloudWatch Insights by timestamp with date rangeasked 2 years ago
Unload with timestamp filterAccepted Answerasked 4 years ago
Add additional fields to Logs Insights from python loggerasked 10 months ago
PutLogEvents with timeStamp in past breaks Cloudwatch Insightsasked a year ago
Ingesting IoT Data to Timestream with TimestampAccepted Answerasked 2 years ago
Query VPC flow logs in Cloudwatch insightsAccepted AnswerEXPERTasked 2 years ago
Formatting time as a unix timestampAccepted Answerasked 2 years ago
getJDBCSink does not like Postgres timestamp fieldsasked 2 years ago
What timestamp is being used by Amazon Connect for recordings filename? Initiation timestamp OR Disconnect timestamp?asked 6 months ago
CloudWatch-Insights: How to compare attributes on a queryasked 4 months ago