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

Logs

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. Enable a configurable buffer on your destination to ensure intermittent latency or an outage at the destination doesn’t create immediate backpressure, and allow events to continue to be ingested from your source. Disk buffers can also increase pipeline durability by writing logs to disk, ensuring buffered logs persist through a Worker restart. See Configurable buffers for destinations for more information.
    • If left unconfigured, your destination uses a memory buffer with a capacity of 500 events.
    • To configure a buffer on your destination:
      1. Select the buffer type you want to set (Memory or Disk).
      2. Enter the buffer size and select the unit.
        • Maximum memory buffer size is 128 GB.
        • Maximum disk buffer size is 500 GB.

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