Skip to main content

Streaming Logs to New Relic

New Relic is an application monitoring platform and logging service.

Setting up New Relic log streaming

To stream logs to New Relic, first generate an API key. Make sure you create an INGEST - LICENSE key.

Next, create a new external log stream in Prismatic.

  • For US-hosted data, use the endpoint: https://log-api.newrelic.com/log/v1
  • For EU-hosted data, use: https://log-api.eu.newrelic.com/log/v1

Add a header named X-License-Key and provide the license key you generated. Note: When copying your key, select "Copy key" (not "key ID").

Configure New Relic log streaming in Prismatic app

The default message template (see here) works with New Relic, but you can customize it to match your attribute naming conventions.

Once you configure the stream, Prismatic sends logs from all enabled customer instances and all test runs in the integration designer to New Relic:

List of logs in New Relic app