Dd Logs
datadog-labs/agent-skillsOfficial
Command-line Datadog Logs skill for searching, aggregating, archiving, and cutting log ingestion costs.
- CCM score
- 66 of 100
- skills.sh installs
- 2.4K
- GitHub stars
- 186
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers log search, aggregation, pattern detection, saved views, archive configuration, and log-based metrics via the Pup CLI
- Includes search syntax reference, grok and remapper processor examples, and exclusion filter templates for health checks, debug logs, and static assets
- Provides a sanitization snippet that redacts credit card and SSN patterns, plus scrubbing rules for hashing sensitive fields
- Designed for engineers who manage Datadog log pipelines and need to control indexing costs
Install
$ npx -y skills add datadog-labs/agent-skills --skill dd-logs -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/datadog-labs/agent-skills
- Category
- DevOps & Cloud
- First seen
- May 16, 2026
More from datadog-labs/agent-skills
All 5Similar to Dd Logs
More DevOps & Clouddd-pupSkilldatadog-labs/agent-skills9.1K installsDatadog CLI skill that routes app URLs and API operations to pup instead of browser automation.
pupPluginDataDog/pup1K starsDatadog API CLI with 49 command groups, 300+ subcommands. Skills and domain agents for monitoring, logs, APM, security, and infrastructure.
dt-obs-logsSkilldynatrace/dynatrace-for-ai3.1K installsLog querying and error analysis in DQL: filter by severity, search content, and calculate error rates.
log-aggregationSkillaj-geddes/useful-ai-prompts455 installsCentralized logging guide covering ELK Stack, Loki, and Splunk for collection, parsing, storage, and analysis.
log-analysisSkillaj-geddes/useful-ai-prompts682 installsStructured log analysis guide covering error triage, pattern detection, and root-cause tracing across application and system logs.