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 > Collect and capture > Log monitoring > Log module configuration > Feature flags.
Enable or disable the Collect all container logs via OneAgent in Kubernetes environments, Collect logs via OneAgent from Journald on Linux systems, and/or Collect structured data from Windows Event Logs options to configure the desired functionalities.
Optional: In Operation mode, select Balanced, Low latency, or Adaptive to control how often the Log module reads new log content. For details, see Operation mode.
This feature flag enables improved capability for streaming logs via the OneAgent log module from Kubernetes environments by:
k8s.workload.name and k8s.workload.kindk8s.workload.name and k8s.workload.kindThe 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+.
The feature flag only affects log ingestion via the OneAgent log module. The Kubernetes log module is not affected by this feature flag and always collects all container logs. Learn more about the different log modules.
New tenants have this feature flag enabled by default. Existing tenants have this feature flag disabled by default to avoid introducing compatibility-breaking changes or altering ingest volume. We recommend to consider enabling this feature flag to improve the capability of streaming logs from Kubernetes environments. Please consider the following changes when enabling this feature flag:
Enable the OneAgent log module and the Kubernetes log module 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.
Enable OneAgent to collect data from event logs' User Data and Event Data sections. To learn more, see Support for structured data.
OneAgent version 1.351+
The Operation mode setting controls how often the Log module reads new log content, for all log source types. OneAgent versions earlier than 1.351 always use Balanced.