title: Is there a way to paginate AWS CloudWatch Logs Insights
body: <p>is there a way to paginate AWS CloudWatch Logs Insights? Thank you.</p>
  <p>I was thinking something like below but that doesn't work</p>
  <pre><code>fields @message | page 2 | limit 20
  </code></pre>
  <p>EDIT:</p>
  <p>I am currently accessing the logs via the Logs Insight
  <a href="https://i.stack.imgur.com/LGouT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LGouT.png" alt="enter image description here" /></a></p>
  <p>In my app, I am accessing it via <a href="https://github.com/aws/aws-logging-dotnet" rel="noreferrer">AWS.Logger.Serilog</a>. But I can move to a different approach (e.g. raw API call) if that would allow me to paginate the logs result.</p>
  <p>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.</p>