New Relic logs enable you to easily deploy log management with simplified log forwarding to search and correlate logs from on-prem or in-cloud sources.

Setup

The integration with New Relic uses the Log API. Here are the steps to configure it:

  1. Follow the New Relic guide to generate an License-Key which also refers to as Api-Key

  2. Choose the correct URL you would like to use:

    1. US - https://log-api.newrelic.com
    2. EU - https://log-api.eu.newrelic.com
    3. FedRamp - https://gov-log-api.newrelic.com
  3. There are two ways to configure the integrations:

    1. In the env0 app

      In the organization's integrations page, click on New Relic and fill the form's fields:


    2. Using environment variables

      Environment variable nameCommentMandatory
      ENV0_NEW_RELIC_API_URLThe URL you would like to get logs to. You can choose between US, EU, and Fedramp. Follow this guide to determine it, but make sure you only take the base URL (without the log/v1 suffix)Yes
      ENV0_NEW_RELIC_API_KEYLicense-Keyor Api-Key- Follow this guide to generate an API KeyYes