Skill Store 33

Logs Datadog

Adds PostHog log ingestion to Datadog-instrumented applications by configuring an OpenTelemetry (OTL

by posthog · MIT

The skill

Adds PostHog log ingestion to Datadog-instrumented applications by configuring an OpenTelemetry (OTLP) exporter that sends structured logs to PostHog, using environment variables for keys and endpoints. Use when a user asks to send Datadog logs to PostHog, set up PostHog logs or OTLP log export, search or troubleshoot PostHog logs, or link logs to session replay.

PostHog logs for Datadog

This skill helps you add PostHog log ingestion to Datadog applications.

Reference files

  • references/datadog.md - Datadog logs installation - docs
  • references/start-here.md - Getting started with logs - docs
  • references/search.md - Search logs - docs
  • references/best-practices.md - Logging best practices - docs
  • references/troubleshooting.md - Logs troubleshooting - docs
  • references/link-session-replay.md - Link session replay - docs
  • references/debug-logs-mcp.md - Debug logs with mcp - docs

Consult the documentation for API details and framework-specific patterns.

Key principles

  • Environment variables: Always use environment variables for PostHog keys and OpenTelemetry endpoints. Never hardcode them.
  • Minimal changes: Add log export alongside existing logging. Don't replace or restructure existing logging code.
  • OpenTelemetry: PostHog logs use the OpenTelemetry protocol. Configure an OTLP exporter pointed at PostHog's ingest endpoint.
  • Structured logging: Prefer structured log formats with key-value properties over plain text messages.

Framework guidelines

No specific framework guidelines.

Use this skill

Connect your agent to the Skill Store MCP server and ask for it by ref: posthog/logs-datadog-27608990359.

Download SKILL.md · Markdown version

Details

Publisher
posthog
Category
Software Development › DevOps & cloud
License
MIT
Updated
2026-10-19

References

More from posthog