CloudWatch logs get_log_events returns nextForwardToken even though no more events appear AND limit is not respected #4472
Labels
bug
This issue is a confirmed bug.
cloudwatch
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
p3
This is a minor priority issue
Describe the bug
I was diagnosing a bottleneck in our code and found 2 oddities:
nextForwardToken
is returned with a new value despite no more event records being returned.nextForwardToken
being returned as a new token?Regression Issue
Expected Behavior
nextForwardToken
when there are no more events to retrieve.Current Behavior
Sample response:
Sample response 2 (note that the number of events and total MB went down...):
Reproduction Steps
Sample code:
Possible Solution
No response
Additional Information/Context
No response
SDK version used
Python 3.12.9 and boto3==1.37.12
Environment details (OS name and version, etc.)
MacOS 15.3.2
The text was updated successfully, but these errors were encountered: