Search Then Scroll Logs
A 2-step recipe with Logz.io. We can help you get access.
Recipe · 2 steps
Search Then Scroll Logs
with Logz.io
Validate a log query with search, then start a scroll for full pagination.
- Run a bounded log search with the supplied query to confirm it matches logs before scrolling through the full result set.
- Open a scroll with the same query to establish a scrollId and fetch the first page of paginated results.
What you'll need to have ready
- apiToken: Logz.io API token sent in the X-API-TOKEN header.
- query: Elasticsearch DSL query object selecting the logs to retrieve.
- size: Number of results to request per page.
For your developer
Arazzo workflow logz-io:search-then-scroll, 2 operations: search → scroll. Specs on APIs.io.