This product is not supported for your selected Datadog site. ().

Use Observability Pipelines’ New Relic destination to send logs to New Relic.

Setup

Set up the New Relic destination and its environment variables when you set up a pipeline. The information below is configured in the pipelines UI.

Set up the destination

  1. Select the data center region (US or EU) of your New Relic account.
  2. Optionally, toggle the switch to enable Buffering Options.
    Note: Buffering options is in Preview. Contact your account manager to request access.
    • If left disabled, the maximum size for buffering is 500 events.
    • If enabled:
      1. Select the buffer type you want to set (Memory or Disk).
      2. Enter the buffer size and select the unit.

Set the environment variables

  • New Relic account ID:
    • Stored in the environment variable: DD_OP_DESTINATION_NEW_RELIC_ACCOUNT_ID.
  • New Relic license:
    • Stored in the environment variable: DD_OP_DESTINATION_NEW_RELIC_LICENSE_KEY.

How the destination works

Event batching

A batch of events is flushed when one of these parameters is met. See event batching for more information.

Max EventsMax BytesTimeout (seconds)
1001,000,0001