Datadog · Arazzo Workflow

Datadog Ingest and Search Logs

Version 1.0.0

Submit log entries to Datadog then search the platform for those logs.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsDashboardsMonitoringPlatformT1VisualizationsArazzoWorkflows

Provider

datadog

Workflows

ingest-and-search-logs
Submit logs to Datadog then search for the indexed log events.
Sends one or more log entries to the Datadog intake endpoint and then issues a log search query bounded by a time range to retrieve the matching events.
2 steps inputs: ddsource, ddtags, from, hostname, message, query, service, to outputs: firstLogId, logs
1
submitLogEntry
Send a single log entry to the Datadog intake endpoint so it is queued for indexing, storage, and analysis.
2
searchLogs
Run a log search query bounded by the supplied time range to retrieve the log events that match the query.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Datadog Ingest and Search Logs
  summary: Submit log entries to Datadog then search the platform for those logs.
  description: >-
    A foundational Datadog Logs pipeline that first sends a batch of log
    entries to the HTTP intake endpoint for indexing and storage, and then
    runs a log search query over a time range to confirm the logs are
    queryable and to retrieve the matching events. 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: logsApi
  url: ../openapi/datadog-logs-api-openapi.yml
  type: openapi
workflows:
- workflowId: ingest-and-search-logs
  summary: Submit logs to Datadog then search for the indexed log events.
  description: >-
    Sends one or more log entries to the Datadog intake endpoint and then
    issues a log search query bounded by a time range to retrieve the
    matching events.
  inputs:
    type: object
    required:
    - message
    - query
    properties:
      message:
        type: string
        description: The message content of the log entry to submit.
      hostname:
        type: string
        description: The host that generated the log entry.
      service:
        type: string
        description: The application or service that generated the log.
      ddsource:
        type: string
        description: The source technology of the log used for automatic processing.
      ddtags:
        type: string
        description: Comma-separated key:value tags to apply to the log entry.
      query:
        type: string
        description: A Datadog log search query string to filter log events.
      from:
        type: string
        description: Start of the search time range (ISO 8601 or relative, e.g. now-15m).
      to:
        type: string
        description: End of the search time range (ISO 8601 or relative, e.g. now).
  steps:
  - stepId: submitLogEntry
    description: >-
      Send a single log entry to the Datadog intake endpoint so it is queued
      for indexing, storage, and analysis.
    operationId: SubmitLog
    requestBody:
      contentType: application/json
      payload:
      - message: $inputs.message
        hostname: $inputs.hostname
        service: $inputs.service
        ddsource: $inputs.ddsource
        ddtags: $inputs.ddtags
    successCriteria:
    - condition: $statusCode == 202
  - stepId: searchLogs
    description: >-
      Run a log search query bounded by the supplied time range to retrieve
      the log events that match the query.
    operationId: ListLogs
    requestBody:
      contentType: application/json
      payload:
        filter:
          query: $inputs.query
          from: $inputs.from
          to: $inputs.to
        sort: -timestamp
        page:
          limit: 25
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      logs: $response.body#/data
      firstLogId: $response.body#/data/0/id
      after: $response.body#/meta/page/after
  outputs:
    logs: $steps.searchLogs.outputs.logs
    firstLogId: $steps.searchLogs.outputs.firstLogId

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/datadog-ingest-and-search-logs-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.