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-code

Installs 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:

  1. Check context first (prior outputs, conversation, saved values).
  2. If a required value is missing, run a discovery command first.
  3. If still ambiguous, ask the user to confirm.
  4. Then run the target command.
  5. 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

QueryMeaning
errorFull-text search
status:errorTag equals
@http.status_code:500Attribute equals
@http.status_code:>=400Numeric range
service:api AND env:prodBoolean
@message:*timeout*Wildcard

Commands

Sponsors

Details

Repository
github.com/datadog-labs/agent-skills
Category
AI & Agent Building
First seen
May 16, 2026

More from datadog-labs/agent-skills

All 6
1launchdarkly avataraiconfig-targetinglaunchdarkly/agent-skillsaiconfig targeting2.2Kskills.sh installs
2k-dense-ai avatardatabase-lookupk-dense-ai/scientific-agent-skillsQuery documented public database APIs with explicit endpoints, filters, pagination, and provenance. Use when a scientific, regulatory, financial, or other datab2.2Kskills.sh installs
3figma avatarfigma-use-figjamfigma/mcp-server-guideThis skill helps agents use Figma's use_figma MCP tool in the FigJam context. Can be used alongside figma-use which has foundational context for using the use_f2.2Kskills.sh installs
4k-dense-ai avatarscholar-evaluationk-dense-ai/scientific-agent-skillsProvide qualitative-first, evidence-traceable developmental review of scholarly works and audit low-stakes research-assessment rubrics with optional local quali2.2Kskills.sh installs
5neondatabase avatarclaimable-postgresneondatabase/agent-skillsProvision instant temporary Postgres databases via Claimable Postgres by Neon (neon.new) with no login, signup, or credit card. Supports REST API, CLI, and SDK.2.2Kskills.sh installs
6k-dense-ai avatarpolarsk-dense-ai/scientific-agent-skillsHigh-performance DataFrame library for Python ETL, analytics, and pandas migration. Use for expression-based data manipulation with lazy query optimization, par2.2Kskills.sh installs