Skip to content

client.filter_log_events paginator returns 1 extra next_token #3426

Answered by tim-finnigan
ShogunLSG asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ShogunLSG it looks like you're using the DescribeLogGroups paginator, is that correct? I'll also link to the boto3 paginator documentation for more general information. The results returned can vary between service APIs and also depend on things like the max results limit and filters used. If you add boto3.set_stream_logger('') to you script that will provide more insight into the behavior. If you want to share those debug logs (with any sensitive info redacted) then we could also look into it further. Thanks!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tim-finnigan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants