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.
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. | ​ |
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, | ​ |
dd_tags | Optional - The tags you want to assign to your logs in Datadog. | ​ |
Get started quickly with this configuration file:
[OUTPUT]Name datadogMatch *Host http-intake.logs.datadoghq.comTLS oncompress gzipapikey <my-datadog-api-key>dd_service <my-app-service>dd_source <my-app-source>dd_tags team:logs,foo:bar
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.