Ingest FluentD

The following configuration example shows how to configure a Collector instance to accept FluentD events via the Fluent Forward protocol and ingest them as OTLP requests into Dynatrace.

Prerequisites

Demo configuration

receivers:
fluentforward:
endpoint: 0.0.0.0:8006
exporters:
otlphttp:
endpoint: ${env:DT_ENDPOINT}
headers:
Authorization: "Api-Token ${env:DT_API_TOKEN}"
service:
pipelines:
traces: null
metrics: null
logs:
receivers: [fluentforward]
processors: []
exporters: [otlphttp]
Configuration validation

Validate your settings to avoid any configuration issues.

Components

For our configuration, we configure the following components.

Receiver

Under receivers, we specify the fluentforward receiver as the active receiver component for our Collector instance and configure it to listen on specified ports.

Exporter

Under exporters, we specify the default otlphttp exporter and configure it with our Dynatrace API URL and the required authentication token.

For this purpose, we set the following two environment variables and reference them in the configuration values for endpoint and Authorization.

Service pipeline

Under service, we assemble our receiver and exporter objects into a logs pipeline, which will listen on the configured address for FluentD logs and ingest the data into Dynatrace.

Limits and limitations

Logs are ingested using the OpenTelemetry protocol (OTLP) via the Dynatrace OTLP API and are subject to the API's limits and restrictions. For more information see: