Logz.io · Arazzo Workflow

Logz.io Search Then Scroll Logs

Version 1.0.0

Run a log search, then open a scroll to page through the full result set.

1 workflow 1 source API 1 provider
View Spec View on GitHub ObservabilityLoggingMetricsTracingSIEMELKElasticsearchOpenSearchPrometheusGrafanaOpenTelemetryAIOpsCloud ObservabilityManaged ELKCost ManagementArazzoWorkflows

Provider

logz-io

Workflows

search-then-scroll
Validate a log query with search, then start a scroll for full pagination.
Runs a log search to confirm hits, then opens a scroll with the same query to page through all matching logs.
2 steps inputs: apiToken, query, size outputs: scrollId, total
1
searchLogs
Run a bounded log search with the supplied query to confirm it matches logs before scrolling through the full result set.
2
openScroll
Open a scroll with the same query to establish a scrollId and fetch the first page of paginated results.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Logz.io Search Then Scroll Logs
  summary: Run a log search, then open a scroll to page through the full result set.
  description: >-
    Retrieves a large set of matching logs in two stages. The workflow first
    runs a bounded search to confirm the query returns hits, then opens a scroll
    request with the same query to establish a scrollId and pull the first page
    of paginated results that can be re-fetched until exhausted. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: logzioApi
  url: ../openapi/logz-io-api-openapi.yml
  type: openapi
workflows:
- workflowId: search-then-scroll
  summary: Validate a log query with search, then start a scroll for full pagination.
  description: >-
    Runs a log search to confirm hits, then opens a scroll with the same query
    to page through all matching logs.
  inputs:
    type: object
    required:
    - apiToken
    - query
    properties:
      apiToken:
        type: string
        description: Logz.io API token sent in the X-API-TOKEN header.
      query:
        type: object
        description: Elasticsearch DSL query object selecting the logs to retrieve.
      size:
        type: integer
        description: Number of results to request per page.
        default: 100
  steps:
  - stepId: searchLogs
    description: >-
      Run a bounded log search with the supplied query to confirm it matches
      logs before scrolling through the full result set.
    operationId: search
    parameters:
    - name: X-API-TOKEN
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        query: $inputs.query
        from: 0
        size: $inputs.size
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      total: $response.body#/hits/total
  - stepId: openScroll
    description: >-
      Open a scroll with the same query to establish a scrollId and fetch the
      first page of paginated results.
    operationId: scroll
    parameters:
    - name: X-API-TOKEN
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        query: $inputs.query
        size: $inputs.size
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      scrollId: $response.body#/scrollId
      hits: $response.body#/hits
  outputs:
    total: $steps.searchLogs.outputs.total
    scrollId: $steps.openScroll.outputs.scrollId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/logz-io-search-then-scroll-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.