Stream logs to New Relic

A New Relic log stream sends each request of a gateway environment to New Relic as one trace over OTLP/HTTP, about 30 seconds after the request ends.

Before you begin

  • A New Relic license key, of the type INGEST - LICENSE. Find it under API keys in New Relic. See New Relic API keys in the New Relic docs.

Add the stream

  1. In the portal, go to Agent Gateway and select your gateway.
  2. Select the Logs tab, then Log settings.
  3. Under Log streams, select Add a stream.
  4. Under Destination, select New Relic.
  5. Fill in the fields in the table.
  6. Select Send test event. Faustine sends a trace of one request marked test: true and shows Delivered when New Relic accepts it.
  7. Select Continue.
  8. Under What to send, choose All requests or Errors and denials, and turn on Discovery calls or Payloads if you want them. Select Continue.
  9. Under Review and create, enter a Name and select Create stream.
Field Value
Region US (otlp.nr-data.net) or EU (otlp.eu01.nr-data.net).
License key The license key.
Service name The entity the traces appear under. Optional. Defaults to faustine-gateway.

The stream's page opens. The first trace reaches New Relic about 30 seconds after the next request ends.

What New Relic receives

Each request is one trace, sent over OTLP/HTTP in JSON. For the spans and their attributes, see What the collector receives.

Next steps

Last updated November 13, 2026