Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dd-logs

Skill by datadog-labs

Searches, processes and archives Datadog logs with cost awareness. It uses the Datadog Pup CLI to run log queries, manage archives and set up exclusion filters.

  • Score 74
  • 186 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dd-logs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/datadog-labs/agent-skills /tmp/agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skills/dd-logs ~/.claude/skills/dd-logs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dd-logs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

dd-logs is an agent skill from datadog-labs for managing Datadog logs. It gives the assistant commands for searching logs with Datadog query syntax, aggregating logs, finding log patterns, and listing saved views, archives and log-based metrics. It runs through the Datadog Pup CLI, which the source says should already be installed.

The skill also covers cost control and sensitive data. It shows exclusion filters for dropping noisy logs such as health checks and debug messages, and it suggests log-based metrics as a cheaper option than indexing. It includes examples for archiving logs to S3 and for scrubbing sensitive fields. It is aimed at people who manage Datadog logs and want to control spend.

Written from the project's SKILL.md and checked against it.

What it can do

  • Log searchSearches logs with query filters, time ranges and JSON output using pup logs search.
  • Log aggregationCounts and groups logs with pup logs aggregate, for example by service.
  • Log patternsFinds recurring message patterns in logs with pup logs patterns.
  • ArchivesLists and inspects log archives and shows an S3 archive configuration example.
  • Log-based metricsLists and gets log-based metrics, which the source describes as cheaper than indexing.
  • Exclusion filtersDrops noisy logs such as debug, health check and heartbeat logs to reduce cost.
  • ProcessorsShows example pipeline processors for grok parsing, status and attribute remapping.
  • Sensitive data scrubbingShows a hash remapper rule and a Python example that redacts card and SSN patterns.

What you need

  • Datadog Pup CLI installed

Try asking

  • Search Datadog for error logs from the last hour in the api service
  • Show me the noisiest log sources in Datadog over the last hour
  • List my Datadog log archives and log-based metrics

Good to know

  • Pup has no logs rehydrate command, so rehydration must be done in the Datadog UI or API
  • Group log-based metrics by bounded values only, to avoid cardinality problems
  • Some aggregate and pattern flags follow the installed pup logs --help output if it differs from the examples

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: dd-logs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to dd-logs

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

dd-logs: common questions

Does dd-logs need the Datadog Pup CLI?

Yes. The source says Datadog Pup should already be installed and links to setup instructions for it.

Can dd-logs rehydrate archived logs?

No. The source says Pup has no logs rehydrate command, so rehydration is done from the Datadog UI or API.

How does dd-logs help reduce Datadog logging costs?

It includes exclusion filters for logs such as debug and health checks, and it notes that log-based metrics are cheaper than indexing logs.

How do I install dd-logs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dd-logs free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is dd-logs safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dd-logs?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

dd-logs Install

Add to stack

Loading.