Stream logs to Dynatrace with Fluentd on Kubernetes (Logs Classic)
Log Monitoring Classic
The recommended way of streaming logs from Kubernetes nodes and pods to Dynatrace is described at Log Monitoring in Kubernetes (Logs Classic).
Alternatively, you can use the Dynatrace Fluentd plugin, which is an open-source module, to stream logs.
The architecture is illustrated below.
Supports streaming logs to different Dynatrace environments from the same Kubernetes cluster. For example, you can send application pod logs to a different environment than the Kubernetes node logs.
Supports streaming logs for application-only integrations.
Can be configured to stream logs directly to Dynatrace.
Logs coming from Fluentd aren't linked with the Kubernetes workloads. Consequently, you can't search for logs by Kubernetes workload on the Log viewer page in Dynatrace. However, you can still see logs on the corresponding Kubernetes workloads pages.
For instructions on how to deploy Fluentd integration, see the documentation on GitHub.
- Kubernetes Classic
Monitor Kubernetes/OpenShift with Dynatrace.