Datadog Logs destination plugin

The Datadog Logs destination plugin lets you configure Chronosphere Telemetry Pipeline to integrate your telemetry data with Datadog Logs, letting you store, analyze, and visualize your log data using logging tools in Datadog.

Supported telemetry types

This plugin supports these telemetry types:

LogsMetricsTraces

Configuration parameters

Use the parameters in this section to configure your plugin. The Telemetry Pipeline web interface uses the values in the Name column to describe the parameters. Items in the Key column are the YAML keys to use in pipeline configuration files.

Required

NameKeyDescriptionDefault
Datadog API KeyapikeyRequired. Datadog API Key found within account settings.none

Advanced

NameKeyDescriptionDefault
Datadog ServerhostThe Datadog server where you're sending your logs.http-intake.logs.datadoghq.com
Datadog Service Namedd_serviceThe human-readable name for your service generating the logs. The name of your app or database.none
Datadog Source Namedd_sourceA human readable name for the underlying technology of your service. For example, postgres or nginx.none
Datadog Tagsdd_tagsThe tags you want to assign to your logs in Datadog.none
Datadog Message Keydd_message_keyBy default, the plugin searches for the key 'log' and remap the value to the key message. If the property is set, the plugin searches the property name key.none
Include Tag Keyinclude_tag_keyIf true, tag is appended to output. The key name is used tag_key property. Accepted values: true, false.false
Tag Keytag_keyThe key name of tag. If include_tag_key is false, This property is ignored.tagkey
JSON Date Keyjson_date_keyDate Key Name for output in log.timestamp
CompressioncommpressCompresses the payload in GZIP format, Datadog supports and recommends setting this to 'gzip'.gzip
ProxyproxySpecify an HTTP Proxy. The expected format of this value is http://host:port. HTTPS isn't supported.none

Security and TLS

NameKeyDescriptionDefault
TLStlsEnable or disable TLS/SSL support. Accepted values: true, false.false
TLS Certificate Validationtls.verifyTurn TLS/SSL certificate validation on or off. TLS must be on for this setting to be enabled.on
TLS Debug Leveltls.debugSet TLS debug verbosity level. Accepted values: 0 (No debug), 1 (Error), 2 (State change), 3 (Informational), 4 (Verbose).1
CA Certificate File Pathtls.ca_fileAbsolute path to CA certificate file.none
Certificate File Pathtls.crt_fileAbsolute path to certificate file.none
Private Key File Pathtls.key_fileAbsolute path to private key file.none
Private Key Path Passwordtls.key_passwdOptional password for tls.key_file file.none
TLS SNI Hostname Extensiontls.vhostHostname to be used for TLS SNI extension.none

Advanced Networking

NameKeyDescriptionDefault
DNS Modenet.dns.modeSelect the primary DNS connection type, which can be TCP or UDP.none
DNS Resolvernet.dns.resolverSelect the primary DNS connection type, which can be LEGACY or ASYNC.none
Prefer IPv4net.dns.prefer_ipv4Prioritize IPv4 DNS results when trying to establish a connection. Accepted values: true, false.false
Keepalivenet.keepaliveEnable or disable Keepalive support. Accepted values: true, false.true
Keepalive Idle Timeoutnet.keepalive_idle_timeoutSet maximum time allowed for an idle Keepalive connection.30s
Max Connect Timeoutnet.connect_timeoutSet maximum time allowed to establish a connection, which includes the TLS handshake.10s
Max Connect Timeout Log Errornet.connect_timeout_log_errorOn connection timeout, specify if it should log an error. When disabled, the timeout is logged as a debug message. Accepted values: true, false.true
Max Keepalive Recyclenet.keepalive_max_recycleSet maximum number of times a keepalive connection can be used before it's retired.2000
Source Addressnet.source_addressSpecify network address to bind for data traffic.none