High-volume Amplify app access logs are unreachable, and cannot select smaller range than an hour

0

There is an hour of access logs I want to download/view from my Amplify app.

The problem is because of the high number of requests in this hour, the results can't seem to load in Amplify -> App settings: Monitoring -> Access logs. So I figured I could potentially use AWS CLI and inspect a smaller range, for example: "aws amplify generate-access-logs --start-time 2023-02-02T22:00Z --end-time 2023-02-02T22:05Z --app-id <app id> --domain-name <domain name>".

However, ANY smaller range within that hour still results in an error when trying to load them (BadRequestException). This is likely because the narrow Timestamp range appears to be pointless and limited to a minimum of 1 hour anyway. This was shown in testing using "--start-time 2023-02-02T19:00Z --end-time 2023-02-02T19:30Z" results in the entire 7-8pm hour log. Am I using Timestamps wrong or is this just a 'feature' of Amplify app logs?

Does anyone have any advice for this issue, e.g., how come I can't select a smaller range and is there a better way to access them? Or is this hour simply forever unreachable due to the high volume of requests...

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions