Datadog Log Management offers simple yet powerful tools for teams to transform disparate, unstructured streams of raw log data into centralized, structured datasets.
env0 can send all of your deployment logs directly to your Datadog account.

Setup

Here are the steps to configure it:

  1. Generate an API key in your Datadog account using this guide
  2. In the env0 platform you will need to configure the following environment variables in any scope you would like to have them:
Environment variable nameDescriptionMandatory
ENV0_DATADOG_API_KEYThe API key value you've created. This is for authentication against your Datadog accountYes
ENV0_DATADOG_HOSTSpecify a Datadog host. You should put only the host and not the full url - for example, if you are using an EU region Datadog account, you can specify a different host like tcp-intake.logs.datadoghq.eu

You can read more here.
No - Default: intake.logs.datadoghq.com
ENV0_DATADOG_PORTSpecify the port endpoint for your Datadog host. Datadog log forwarding in env0 uses TCP over TLS endpoints.

You can read more here.
No - Default:10516