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.
http-intake.logs.datadoghq.com
TLS
Required - End-to-end security communications security protocol. Datadog recommends leaving this on.
on
apikey
Required - Your Datadog API key.
dd_service
Recommended - The human readable name for your service generating the logs - the name of your application or database.
dd_source
Recommended - A human readable name for the underlying technology of your service. For example, postgres or nginx.
dd_tags
Optional - The tags you want to assign to your logs in Datadog.

Configuration File

Get started quickly with this configuration file:
1
[OUTPUT]
2
Name datadog
3
Match *
4
Host http-intake.logs.datadoghq.com
5
TLS on
6
apikey <my-datadog-api-key>
7
dd_service <my-app-service>
8
dd_source <my-app-source>
9
dd_tags team:logs,foo:bar
Copied!

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 modified 2yr ago