Skip to main content

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

RegionEndpoint URL
US (default)https://http-intake.logs.datadoghq.com/api/v2/logs
US3https://http-intake.logs.us3.datadoghq.com/api/v2/logs
US5https://http-intake.logs.us5.datadoghq.com/api/v2/logs
EUhttps://http-intake.logs.datadoghq.eu/api/v2/logs
AP1https://http-intake.logs.ap1.datadoghq.com/api/v2/logs
US1-FEDhttps://http-intake.logs.ddog-gov.com/api/v2/logs

See DataDog docs for the latest endpoints.

Configure DataDog log streaming in Prismatic app

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:

List of logs in DataDog app
Testing Payloads with 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.