logs_archives
List, get, create, update, delete, and reorder Datadog log archives for long-term retention to S3, GCS, or Azure Blob storage.
Instructions
Manage Datadog Logs archives (long-term log retention to S3 / GCS / Azure Blob). Actions: list, get, create, update, delete, reorder, get_order. Archives accept destinations of type 's3', 'gcs', or 'azure_storage'; per-provider credential and integration fields (S3 IAM role ARN, GCS service account, Azure tenant/secret) are forwarded unchanged. Mutations (create, update, delete, reorder) are blocked when the server is in read-only mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| id | No | Archive ID (required for get/update/delete) | |
| config | No | Archive configuration (for create/update). Requires name, query, and destination with type ∈ { s3, gcs, azure_storage }. Provider credential / integration fields are forwarded unchanged. | |
| archive_ids | No | Ordered archive ID list (required for reorder) | |
| verbose | No | Return full SDK payload alongside summary (default false) |