datadog-cli

Query Datadog logs, metrics, and dashboard configurations via CLI.

9|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/stephanj/claude-code-collections --skill datadog-cli-stephanj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datadog-cli
Source: https://github.com/stephanj/claude-code-collections/tree/main/skills/datadog-cli
Command: npx skills add https://github.com/stephanj/claude-code-collections --skill datadog-cli-stephanj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines the complex process of querying Datadog logs, metrics, and dashboards, allowing for rapid incident triage and performance monitoring without leaving the terminal.

Core Features & Use Cases

  • Log Analysis: Search, tail, and trace logs across distributed services to pinpoint errors.
  • Metrics & Dashboards: Query timeseries metrics and manage dashboard configurations programmatically.
  • Incident Triage: Automate the comparison of error rates and log patterns between time periods to identify regressions.

Quick Start

Use the datadog-cli to search for error logs in the payments service from the last hour.

Frequently Asked Questions about datadog-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Datadog logs for production errors from the terminal?

Search Datadog logs for production errors by executing CLI commands directly in the terminal. The interface queries Datadog logs across distributed services to pinpoint errors without requiring a web browser.

Can I tail Datadog logs in real-time for incident triage?

Yes, you can tail Datadog logs in real-time for incident triage. The CLI supports real-time log tailing and trace correlation to monitor distributed systems as issues occur.

How do I query Datadog metrics and manage dashboard configurations programmatically?

Query Datadog metrics and manage dashboard configurations programmatically through CLI commands. This feature queries timeseries metrics and automates dashboard management for distributed systems.

Do I need API and application keys to query Datadog observability data?

Yes, you need valid Datadog API and application keys to authenticate. These keys are required to execute CLI commands against the Datadog platform for querying logs and metrics.

What is the best way to compare error rates between time periods for incident response?

The best way to compare error rates between time periods is using automated incident triage. This feature compares error rates and log patterns between time periods to identify regressions.

Does the Datadog CLI support trace correlation for distributed systems?

Yes, the Datadog CLI supports trace correlation for distributed systems. It searches and traces logs across distributed services to pinpoint errors during production debugging and observability.