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

Searches, processes, and archives Datadog logs with cost controls, using the Datadog Pup CLI. Aimed at teams that manage log pipelines, archives, and log volume costs.

  • Score 76
  • 1k stars
  • Apache-2.0
  • 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/pup /tmp/pup && mkdir -p ~/.claude/skills && cp -r /tmp/pup/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 a skill for managing Datadog logs. It lets an assistant search logs with Datadog query syntax, create log pipelines with processors such as grok parsing and remappers, and list archives and log-based metrics. It also covers cost control through exclusion filters and scrubbing rules for sensitive data.

The skill runs its commands through the Datadog Pup CLI (pup), which must be installed first and authenticated with pup auth login. Search output is JSON by default. The source notes that some trace IDs shown as linked in the Datadog UI may be missing from API results, and it gives workarounds. The skill is meant for broader log management, archive, pipeline, and cost workflows. For focused log search and result analysis, the source points to a separate logs agent.

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

What it can do

  • Search logsRuns log searches with Datadog query syntax and a time range using pup logs search.
  • Manage pipelinesLists and creates log pipelines with pup obs-pipelines, using processors such as grok parsing.
  • Exclusion filtersDrops low-value logs such as debug logs, health checks, and heartbeats to reduce indexing costs.
  • ArchivesLists log archives and shows an S3 archive configuration for compliance storage.
  • Log-based metricsLists existing log-based metrics using pup logs metrics list.
  • Scrubbing rulesHashes sensitive attributes such as email addresses with a hash-remapper.
  • Trace ID troubleshootingExplains why some trace IDs shown in the Datadog UI are missing from API results.

What you need

  • Datadog Pup CLI (dd-pup/pup), installed from the GitHub repository
  • Cargo, for the cargo install command shown in the source
  • Datadog login through pup auth login

Try asking

  • Search error logs from the api service in the last hour
  • Create a Datadog pipeline with grok parsing for nginx logs
  • List my log archives and log-based metrics

Good to know

  • Trace IDs remapped for trace correlation may not appear in Logs Search API results.
  • Log-based metric groupings should use bounded values to avoid cardinality problems.

Security check

A

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

Checked automatically: skills/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 require the Datadog Pup CLI?

Yes. The source says Datadog Pup (dd-pup/pup) should already be installed, and the skill's commands run through it.

How can dd-logs help reduce log costs?

It shows exclusion filters for debug logs, health checks, static assets, and heartbeats. It also includes a command to find the noisiest log sources.

Why are some trace IDs missing from log API results?

The source says remapped trace IDs are stored as internal attributes that the Logs Search API does not return. It describes this as expected Datadog Log Management behavior.

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 Apache-2.0 licence. The service it connects to may have its own pricing.

Is dd-logs safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality A. 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.