capabilities.work

Create a Logs Archive

A 2-step recipe with Datadog. We can help you get access.

Recipe · 2 steps

Create a Logs Archive

with Datadog
Works with AI assistants

Create a logs archive then get it by id.

  1. Create a new logs archive that sends matching logs to an S3 bucket via the supplied AWS integration.
  2. Retrieve the newly created archive by its id to confirm it was stored with the expected query and destination.
What you'll need to have ready
  • name: The display name for the new archive.
  • query: The archive query/filter; logs matching this query are archived.
  • bucket: The S3 bucket where the archive will be stored.
  • path: The path prefix within the S3 bucket.
  • accountId: The AWS account ID for the S3 integration.
  • roleName: The AWS IAM role name for the S3 integration.
For your developer

Arazzo workflow datadog:create-log-archive, 2 operations: CreateLogsArchive → GetLogsArchive. Specs on APIs.io.