4

I want to get a specific timestamp so for example:

I need to query: December 31st, 2021 at 8:55AM

fields @timestamp, @message
| sort @timestamp desc
| limit 25
alexa
  • 151
  • 1
  • 2
  • 5
  • 2
    Does this answer your question? [Filter by timestamp query on AWS Cloudwatch Logs Insights](https://stackoverflow.com/questions/60707697/filter-by-timestamp-query-on-aws-cloudwatch-logs-insights) – Ermiya Eskandary Dec 31 '21 at 18:40
  • The first answer in that question is the direct answer to your question ^ – Ermiya Eskandary Dec 31 '21 at 18:40

1 Answers1

7

Here are some screenshots of where to change it in the top right of the console as well. First click on Custom:

enter image description here

then switch to Absolute and specify the exact start and end dates/times you want: enter image description here

Filter by timestamp query on AWS Cloudwatch Logs Insights may address your question if you want to do it in the query.

Shawn
  • 8,374
  • 5
  • 37
  • 60