Datadog
Send logs to Datadog
The Datadog output plugin allows to ingest your logs into Datadog.
Before you begin, you need a Datadog account, a Datadog API key, and you need to activate Datadog Logs Management.
Configuration Parameters
Key | Description | Default |
---|---|---|
Host | Required - The Datadog server where you are sending your logs. |
|
TLS | Required - End-to-end security communications security protocol. Datadog recommends setting this to |
|
compress | Recommended - compresses the payload in GZIP format, Datadog supports and recommends setting this to | |
apikey | Required - Your Datadog API key. | |
Proxy | Optional - Specify an HTTP Proxy. The expected format of this value is http://host:port. Note that https is not supported yet. | |
provider | To activate the remapping, specify configuration flag provider with value | |
json_date_key | Date key name for output. |
|
include_tag_key | If enabled, a tag is appended to output. The key name is used |
|
tag_key | The key name of tag. If |
|
dd_service | Recommended - The human readable name for your service generating the logs (e.g. the name of your application or database). If unset, Datadog will look for the service using Service Remapper." | |
dd_source | Recommended - A human readable name for the underlying technology of your service (e.g. | |
dd_tags | Optional - The tags you want to assign to your logs in Datadog. If unset, Datadog will look for the tags in the `ddtags' attribute. | |
dd_message_key | By default, the plugin searches for the key 'log' and remap the value to the key 'message'. If the property is set, the plugin will search the property name key. | |
workers | The number of workers to perform flush operations for this output. |
|
Configuration File
Get started quickly with this configuration file:
Troubleshooting
403 Forbidden
If you get a 403 Forbidden
error response, double check that you have a valid Datadog API key and that you have activated Datadog Logs Management.
Last updated