Stream logs to Datadog

DataStream 2 supports sending logs to Datadog. Datadog is a cloud-based monitoring and analytics solution that allows you to see inside applications within your stack and aggregate the results.

DataStream uploads logs to Datadog over HTTP(S) endpoints. Depending on your choice, it can stream compressed or uncompressed log files.

For security reasons, DataStream sends logs over TLS even if Datadog policy allows insecure requests.

Before you begin

To use Datadog as a destination for your logs, you need to:

  • Register a Datadog account. The location from where you register your Datadog account, either in the United States (US) or the European Union (EU), affects commands and endpoints you use when configuring Datadog as destination in a stream configuration. See the Datadog site.
  • Generate a Datadog API key dedicated to a stream. See Datadog API keys.
  • Gather static custom tags that you want to send together with the log streams: tags, source, and service. See Datadog logs over HTTP and Datadog tagging.
  • Identify the HTTPS endpoint in a hosting region, either US or EU. See Datadog logs over HTTP.

How to

  1. In Destination, select Datadog.
  2. In Name, enter a human readable description for the endpoint.
  3. In Endpoint, enter the Datadog endpoint where you want to send and store logs.
    For example:
    • http-intake.logs.datadoghq.com/v1/input
    • http-intake.logs.datadoghq.eu/v1/input
  4. Optional: In Tags, enter a comma-delimited list of tags that you use to filter and group your metrics in your Datadog account. This field also supports <key>:<value> combinations, for example, type:datastream2.
  5. Optional: In Source, enter the source name from which logs originate associated with your Datadog account.
    The system sets Akamai as a default source of logs.
  6. Optional: In Service, enter the name of the application or service generating the log events associated with you Datadog account.
  7. In API key, enter the API key associated with your Datadog account.
  8. If you want to send compressed GZIP logs to this destination, check Send compressed data.
  9. Click Validate & Save to validate the connection to the destination and save the details you provided.