LogoLogo
  • Overview
    • Introduction
    • Getting Started
    • Nimbus Hub
    • Log Optimization
      • Reduce Optimizations
      • Lint Optimizations
    • Working with NTL
      • Working with Transforms
    • Working with Aggregated Logs
    • Examples
    • Concepts
    • FAQ
    • Architecture
  • Additional Features
    • Configuration Overrides
    • Pause All
    • Error Detection
    • Private Link
  • Integrations
    • Datadog
      • AWS Lambda Extension
      • AWS Lambda Forwarder
      • DD Agent
      • DD Log Forwarding Destination
      • Heroku
      • Journald
      • OpenTelemetry
  • Resources
    • Nimbus Attributes
    • Changelog
    • SLA
    • Bug Bounty
    • Support
  • Preview Features
    • Metric Optimization
    • Datadog CLI
Powered by GitBook
On this page
  • Prerequisites
  • Steps
  • 1. Add your Nimbus Endpoint as a Log Drain
  • 2. Add custom attributes (optional)
  • 3. Confirm receiving logs
  • 4. Remove your old endpoint

Was this helpful?

Export as PDF
  1. Integrations
  2. Datadog

Heroku

Prerequisites

  • connect your datadog account to Nimbus

Steps

1. Add your Nimbus Endpoint as a Log Drain

heroku drains:add "https://$YOUR_NIMBUS_ENDPOINT?dd-api-key=<DD_API_KEY>&ddsource=heroku&env=<ENV>&service=<SERVICE>&host=<HOST>" -a <APPLICATION_NAME>

2. Add custom attributes (optional)

You can add custom attributes by appending it to the end of your drain query string

heroku drains:add "https://$YOUR_NIMBUS_ENDPOINT?dd-api-key=<DD_API_KEY>&ddsource=heroku&env=<ENV>&service=<SERVICE>&host=<HOST>&<attKey>=<attValue>" -a <APPLICATION_NAME>

3. Confirm receiving logs

Verify via the datadog log console that logs are coming in with the expected attributes

4. Remove your old endpoint

heroku drains:remove <id-of-dd-drain>

Last updated 1 year ago

Was this helpful?