Is there a way to paginate AWS CloudWatch Logs Insights

Viewed 1429

is there a way to paginate AWS CloudWatch Logs Insights? Thank you.

I was thinking something like below but that doesn't work

fields @message | page 2 | limit 20

EDIT:

I am currently accessing the logs via the Logs Insight enter image description here

In my app, I am accessing it via AWS.Logger.Serilog. But I can move to a different approach (e.g. raw API call) if that would allow me to paginate the logs result.

I have tried browsing through the AWS CloudWatch documentation, google, and stack overflow. The problem I'm trying to overcome is how to paginate the logs so it won't load all the logs given a query.

0 Answers
Related