New features are introduced to OneAgent log module and Dynatrace log module for Kubernetes. The log module feature flags allow you to enable or disable specific functionalities of the OneAgent log module and the Dynatrace log module for Kubernetes.
Follow the steps below to control the log module feature flags:
Go to Settings > Log Monitoring > Log module feature flags.
Enable or disable the Collect all container logs and/or Collect Journald logs options to configure the desired functionalities.
OneAgent version 1.307+
If the option is disabled, then nothing changes. This is the default state for existing tenants to avoid introducing compatibility-breaking changes or altering ingest volume. Kubernetes logs are ingested and decorated the same way as before.
The option is enabled by default for new tenants, and when running Dynatrace Log module for Kubernetes. This enables improved capability for streaming logs from Kubernetes environments by:
k8s.workload.name
and k8s.workload.kind
k8s.workload.name
and k8s.workload.kind
The matcher Deployment name in the log sources configuration will be ignored and needs to be replaced with Workload name. This requires Dynatrace Operator version 1.4.2+.
OneAgent version 1.307+
Enable OneAgent to collect logs from Journald on Linux systems. This option is enabled by default for new tenants, while existing tenants can opt-in. It still requires a proper ingest rule to be effective.