Streaming Logs to DataDog
DataDog is an application monitoring platform and logging system. To stream logs to DataDog, first generate an API key. Be sure to generate an API key (not an application key).
Set the endpoint as specified in the below table, and add a header named DD-API-KEY
and provide your API key.
DataDog Log Intake Endpoints by Region
Region | Endpoint URL |
---|---|
US (default) | https://http-intake.logs.datadoghq.com/api/v2/logs |
US3 | https://http-intake.logs.us3.datadoghq.com/api/v2/logs |
US5 | https://http-intake.logs.us5.datadoghq.com/api/v2/logs |
EU | https://http-intake.logs.datadoghq.eu/api/v2/logs |
AP1 | https://http-intake.logs.ap1.datadoghq.com/api/v2/logs |
US1-FED | https://http-intake.logs.ddog-gov.com/api/v2/logs |

The default message template (see here) is compatible with DataDog, but you may customize it to match your attribute naming conventions.
Once configured, logs from all enabled customer instances and all test runs in the integration designer will be streamed to DataDog:

For security reasons, DataDog prohibits sending logs directly from your web browser when using an API key. As a result, the TEST PAYLOAD button does not work with DataDog. Rest assured, you should see instance logs in DataDog as long as your API key is valid.