
Dd Logs
This handles Datadog log search, archive configuration, and cost controls through the pup CLI. You get log queries with filtering, access to exclusion filters for dropping noisy logs before they hit your index, and commands to list archives and log-based metrics. The documentation leans hard on cost awareness, which is the right instinct since log volume bills add up fast. It includes search syntax tables, processor examples for parsing and remapping, and practical guidance on what to exclude like health checks and debug logs. Built by the datadog-labs team, so it assumes you're already in the Datadog ecosystem and have pup installed.
- skills.sh installs
- 2.2K
- GitHub stars
- 184
- last updated
- Aug 21, 2026
Install
$ npx -y skills add datadog-labs/agent-skills --skill dd-logs --agent claude-codeInstalls into .claude/skills of the current project.
Files
Datadog Logs
Search, process, and archive logs with cost awareness.
Prerequisites
Datadog Pup should already be installed. See Setup Pup if not.
Command Execution Order (Token-Efficient)
For scoped commands, use this order:
- Check context first (prior outputs, conversation, saved values).
- If a required value is missing, run a discovery command first.
- If still ambiguous, ask the user to confirm.
- Then run the target command.
- Avoid speculative commands likely to fail.
Quick Start
pup auth login
Search Logs
# Basic search
pup logs search --query="status:error" --from="1h"
# With filters
pup logs search --query="service:api status:error" --from="1h" --limit 100
# JSON output
pup logs search --query="@http.status_code:>=500" --from="1h"
Search Syntax
| Query | Meaning |
|---|---|
error | Full-text search |
status:error | Tag equals |
@http.status_code:500 | Attribute equals |
@http.status_code:>=400 | Numeric range |
service:api AND env:prod | Boolean |
@message:*timeout* | Wildcard |
Commands
Sponsors
Details
- Repository
- github.com/datadog-labs/agent-skills
- Category
- AI & Agent Building
- First seen
- May 16, 2026