<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Logs Ingest on K8s with Dynatrace in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/ta-p/285827</link>
    <description>&lt;H1 id="summary"&gt;Summary&lt;/H1&gt;
&lt;P&gt;In April 2025, &lt;A href="https://docs.dynatrace.com/docs/shortlink/release-notes-saas-sprint-313#stay-in-control-of-your-kubernetes-logs-with-dynatraces-fully-automated-log-management" target="_blank" rel="noopener"&gt;Dynatrace released a log module feature&lt;/A&gt; for automatic log ingest of container logs on clusters monitored with OneAgent workload in &lt;A href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/cloudNativeFullStack.yaml" target="_blank" rel="noopener"&gt;Cloud Native Fullstack&lt;/A&gt; or &lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/applicationMonitoring.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/applicationMonitoring.yaml" target="_blank" rel="noopener"&gt;App-only&lt;/A&gt; modes or &lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/logMonitoring.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/logMonitoring.yaml" target="_blank" rel="noopener"&gt;without OneAgent&lt;/A&gt;. If you encounter any log ingest issues with our log module feature, please review the below pre-requisites and steps to enabling logs on k8s.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="preparing-your-cluster-for-our-new-log-module-feature"&gt;Preparing your cluster for our new Log module feature&lt;/H1&gt;
&lt;H3 id="oneagent-workloads-in-mode-classic-fullstack"&gt;For OneAgent workloads in mode Classic Fullstack&lt;/H3&gt;
&lt;P&gt;If you deploy the OneAgent workload in Classic Fullstack or deploy a deprecated technology like OneAgent Operator, we encourage &lt;A title="https://docs.dynatrace.com/docs/shortlink/migration-cloud-native#migrate" href="https://docs.dynatrace.com/docs/shortlink/migration-cloud-native#migrate" target="_blank" rel="noopener"&gt;migrating to our Cloud Native Fullstack deployment&lt;/A&gt;&amp;nbsp;and enabling our log module feature for automatic log ingest of container logs.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;Update installation with CSI driver included:
&lt;DIV&gt;
&lt;PRE class="hljs"&gt;&lt;CODE&gt;&lt;SPAN class="hljs-title"&gt;helm upgrade dynatrace-operator oci:&lt;/SPAN&gt;//docker.io/dynatrace/dynatrace-operator \`  
`--atomic \`  
`--csidriver.enabled=&lt;SPAN class="hljs-string"&gt;"true"&lt;/SPAN&gt; \ # By default CSI driver is enabled`  
`--namespace dynatrace&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;In your Dynakube, change &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.OneAgent.classicFullStack: {}&lt;/CODE&gt; to &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.OneAgent.cloudNativeFullStack: {}&lt;/CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 id="update-dynatrace-operator"&gt;Update Dynatrace Operator&lt;/H3&gt;
&lt;P&gt;Please &lt;A title="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/updates-and-maintenance/update-uninstall-operator" href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/updates-and-maintenance/update-uninstall-operator" target="_blank" rel="noopener"&gt;update Dynatrace Operator&lt;/A&gt; and follow the below steps for log monitoring on k8s with our log module. Check our latest version in &lt;A title="https://github.com/Dynatrace/dynatrace-operator/releases/latest" href="https://github.com/Dynatrace/dynatrace-operator/releases/latest" target="_blank" rel="noopener"&gt;Dynatrace Operator latest release&lt;/A&gt;.&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="maps-to-line"&gt;
&lt;P&gt;Below command is only to update the Dynatrace Operator&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;with CSI driver&lt;/STRONG&gt;:&lt;BR /&gt;&lt;CODE class="inline-code"&gt;kubectl apply -f &lt;A href="https://github.com/Dynatrace/dynatrace-operator/releases/download/v1.7.0/kubernetes-csi.yaml" target="_blank" rel="noopener"&gt;https://github.com/Dynatrace/dynatrace-operator/releases/download/v1.7.0/kubernetes-csi.yaml&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="maps-to-line"&gt;
&lt;P&gt;Below command is only to update the Dynatrace Operator&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;without CSI driver&lt;/STRONG&gt;:&lt;BR /&gt;&lt;CODE class="inline-code"&gt;kubectl apply -f &lt;A href="https://github.com/Dynatrace/dynatrace-operator/releases/download/v1.7.0/kubernetes.yaml" target="_blank" rel="noopener"&gt;https://github.com/Dynatrace/dynatrace-operator/releases/download/v1.7.0/kubernetes.yaml&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Enabling &lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-logs-from-kubernetes" target="_blank" rel="noopener"&gt;Logs on k8s&lt;/A&gt;&lt;/H1&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Enable log module feature flag &lt;A&gt;Collect all Container Logs&lt;/A&gt; in cluster Settings &amp;gt; Log monitoring &amp;gt; Log module feature flags.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In your Dynakube, add &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.logMonitoring: {}&lt;/CODE&gt; , which Dynatrace Operator uses to create an unconditional log ingest rule in the cluster settings &amp;gt; Log monitoring &amp;gt; Log ingest rules.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;You may set granular ingest rules with &lt;A title="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-parameters#log-monitoring-ingest-rule-matchers" href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-parameters#log-monitoring-ingest-rule-matchers" target="_blank" rel="noopener"&gt;Dynakube parameter&lt;/A&gt; &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.logMonitoring.ingestRuleMatchers&lt;/CODE&gt;, which only supports storage include rules with k8s matchers.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;You may override the Dynatrace Operator created log ingest rule(s) with your own &lt;A title="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#log-ingest-rule" href="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#log-ingest-rule" target="_blank" rel="noopener"&gt;log ingest rules&lt;/A&gt; in Dynatrace at the cluster scope or a scope closer to the node, like in host settings. We recommend matchers for k8s, content or level attributes in Log ingest rule settings in Dynatrace. &lt;A title="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#example-exclude" href="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#example-exclude" target="_blank" rel="noopener"&gt;Storage exclude rules&lt;/A&gt; are also supported for more granular control of ingest, for example, exclude from storage, logs containing &lt;A title="https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#log-severity" href="https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#log-severity" target="_blank" rel="noopener"&gt;supported severity keywords&lt;/A&gt; like &lt;STRONG&gt;trace&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In your Dynakube, change &lt;CODE class="inline-code" spellcheck="false"&gt;apiVerson&lt;/CODE&gt; to &lt;CODE class="inline-code" spellcheck="false"&gt;v1beta5&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Steps 4.1 and 4.2 are mutually exclusive; complete one step but not both. Dynatrace Operator will not deploy our logMonitoring workload on clusters with our OneAgent workload in mode Cloud Native Fullstack, because Fullstack OneAgents include LogAnalytics for log monitoring.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Required only for Logs on k8s with&lt;/STRONG&gt; &lt;STRONG&gt;&lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/applicationMonitoring.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/applicationMonitoring.yaml" target="_blank" rel="noopener"&gt;App-only&lt;/A&gt;&lt;/STRONG&gt; &lt;STRONG&gt;or&lt;/STRONG&gt; &lt;STRONG&gt;&lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/logMonitoring.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/logMonitoring.yaml" target="_blank" rel="noopener"&gt;Standalone&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;In your Dynakube, add &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.templates.logMonitoring&lt;/CODE&gt; with imageRef params.&lt;BR /&gt;&lt;EM&gt;Check our latest logMonitoring image in &lt;A title="https://gallery.ecr.aws/dynatrace/dynatrace-logmodule" href="https://gallery.ecr.aws/dynatrace/dynatrace-logmodule" target="_blank" rel="noopener"&gt;ECR Public Gallery&lt;/A&gt;. We recommend deploying one of the most recent versioned images, like 1.321 as of September 2025. &lt;CODE class="inline-code" spellcheck="false"&gt;latest&lt;/CODE&gt; is not currently an existing tag for our official logMonitoring images stored in public repositories.&lt;/EM&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE class="hljs"&gt;&lt;CODE&gt;&lt;SPAN class="hljs-symbol"&gt;  templates:&lt;/SPAN&gt;
&lt;SPAN class="hljs-symbol"&gt;    logMonitoring:&lt;/SPAN&gt;
&lt;SPAN class="hljs-symbol"&gt;      imageRef:&lt;/SPAN&gt;
&lt;SPAN class="hljs-symbol"&gt;        repository:&lt;/SPAN&gt; public.ecr.aws&lt;SPAN class="hljs-keyword"&gt;/dynatrace/&lt;/SPAN&gt;dynatrace-logmodule
&lt;SPAN class="hljs-symbol"&gt;        tag:&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;1.319&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.83&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.20250909&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;-095914&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Logs on k8s with&lt;/STRONG&gt; &lt;STRONG&gt;&lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/cloudNativeFullStack.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/cloudNativeFullStack.yaml" target="_blank" rel="noopener"&gt;Cloud Native Fullstack OneAgent&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;A title="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-update" href="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-update" target="_blank" rel="noopener"&gt;Update OneAgent&lt;/A&gt;. We recommend one of the &lt;A title="https://docs.dynatrace.com/docs/shortlink/release-notes-oneagent" href="https://docs.dynatrace.com/docs/shortlink/release-notes-oneagent" target="_blank" rel="noopener"&gt;two latest releases&lt;/A&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Check that Dynakube feature flag &lt;CODE class="inline-code" spellcheck="false"&gt;feature.dynatrace.com/automatic-kubernetes-api-monitoring&lt;/CODE&gt; was not set to false.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Check that &lt;CODE class="inline-code" spellcheck="false"&gt;kubernetes-monitoring&lt;/CODE&gt; was added to the &lt;A title="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-parameters#active-gate" href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-parameters#active-gate" target="_blank" rel="noopener"&gt;list of ActiveGate capabilities&lt;/A&gt; in &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.activeGate.capabilities&lt;/CODE&gt; of your Dynakube.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="resolution"&gt;Resolution&lt;/H1&gt;
&lt;P&gt;In Dynatrace, we should see logs attached on the monitored k8s entity pages in the Kubernetes app and we can also filter logs by any of these fields in &lt;A title="https://docs.dynatrace.com/docs/shortlink/dql-dynatrace-query-language-hub" href="https://docs.dynatrace.com/docs/shortlink/dql-dynatrace-query-language-hub" target="_blank" rel="noopener"&gt;DQL&lt;/A&gt; (Grail) or &lt;A title="https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/analyze-log-data/log-viewer#sql" href="https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/analyze-log-data/log-viewer#sql" target="_blank" rel="noopener"&gt;DSQL&lt;/A&gt; (Logs classic).&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="https://docs.dynatrace.com/docs/shortlink/openpipeline-limits#entity-related-fields" href="https://docs.dynatrace.com/docs/shortlink/openpipeline-limits#entity-related-fields" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/openpipeline-limits#entity-related-fields&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A title="https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#autoattributes" href="https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#autoattributes" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#autoattributes&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Field log.source is set to &lt;STRONG&gt;Container Output&lt;/STRONG&gt;. Field &lt;STRONG&gt;dt.source_entity&lt;/STRONG&gt;&amp;nbsp;is set to the containerized process(es) that output the logs to the pod's stdout/err streams. If the process details are unavailable, available entity ids like the cloud application instance of the pod entity page may be used to set the &lt;STRONG&gt;dt.source_entity&lt;/STRONG&gt; field.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Logs in context of a k8s cluster monitored on a Dynatrace Demo environment." style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30034i8F52CE48AEF488E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="jgrant_0-1757615366367.png" alt="Logs in context of a k8s cluster monitored on a Dynatrace Demo environment." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Logs in context of a k8s cluster monitored on a Dynatrace Demo environment.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="whats-next"&gt;What's next&lt;/H1&gt;
&lt;P&gt;If you encounter any unexpected behavior with the deployment change or missing log ingest, please &lt;A title="https://docs.dynatrace.com/docs/shortlink/installation-k8s-troubleshooting#support-archive" href="https://docs.dynatrace.com/docs/shortlink/installation-k8s-troubleshooting#support-archive" target="_blank" rel="noopener"&gt;collect the Dynatrace Operator archive&lt;/A&gt;, write a description of your issue with results of above steps and link the cluster in your Dynatrace environment on a &lt;A title="https://one.dynatrace.com" href="https://one.dynatrace.com" target="_blank" rel="noopener"&gt;support ticket&lt;/A&gt;&amp;nbsp;with Dynatrace Support.&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE class="hljs"&gt;&lt;CODE&gt;kubectl exec -n dynatrace deployment/dynatrace-&lt;SPAN class="hljs-keyword"&gt;operator&lt;/SPAN&gt; -- dynatrace-&lt;SPAN class="hljs-keyword"&gt;operator&lt;/SPAN&gt; support-archive --stdout &amp;gt; &lt;SPAN class="hljs-keyword"&gt;operator&lt;/SPAN&gt;-support-archive.zip&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A &lt;A title="https://docs.dynatrace.com/docs/shortlink/share-documents#document-share-link" href="https://docs.dynatrace.com/docs/shortlink/share-documents#document-share-link" target="_blank" rel="noopener"&gt;notebook share access link&lt;/A&gt;&amp;nbsp;with edit permissions showing the query used can also help Dynatrace Support verify provided your issue description and start our investigation.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 12 Sep 2025 06:39:26 GMT</pubDate>
    <dc:creator>jgrant</dc:creator>
    <dc:date>2025-09-12T06:39:26Z</dc:date>
    <item>
      <title>Logs Ingest on K8s with Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/ta-p/285827</link>
      <description>&lt;H1 id="summary"&gt;Summary&lt;/H1&gt;
&lt;P&gt;In April 2025, &lt;A href="https://docs.dynatrace.com/docs/shortlink/release-notes-saas-sprint-313#stay-in-control-of-your-kubernetes-logs-with-dynatraces-fully-automated-log-management" target="_blank" rel="noopener"&gt;Dynatrace released a log module feature&lt;/A&gt; for automatic log ingest of container logs on clusters monitored with OneAgent workload in &lt;A href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/cloudNativeFullStack.yaml" target="_blank" rel="noopener"&gt;Cloud Native Fullstack&lt;/A&gt; or &lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/applicationMonitoring.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/applicationMonitoring.yaml" target="_blank" rel="noopener"&gt;App-only&lt;/A&gt; modes or &lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/logMonitoring.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/logMonitoring.yaml" target="_blank" rel="noopener"&gt;without OneAgent&lt;/A&gt;. If you encounter any log ingest issues with our log module feature, please review the below pre-requisites and steps to enabling logs on k8s.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="preparing-your-cluster-for-our-new-log-module-feature"&gt;Preparing your cluster for our new Log module feature&lt;/H1&gt;
&lt;H3 id="oneagent-workloads-in-mode-classic-fullstack"&gt;For OneAgent workloads in mode Classic Fullstack&lt;/H3&gt;
&lt;P&gt;If you deploy the OneAgent workload in Classic Fullstack or deploy a deprecated technology like OneAgent Operator, we encourage &lt;A title="https://docs.dynatrace.com/docs/shortlink/migration-cloud-native#migrate" href="https://docs.dynatrace.com/docs/shortlink/migration-cloud-native#migrate" target="_blank" rel="noopener"&gt;migrating to our Cloud Native Fullstack deployment&lt;/A&gt;&amp;nbsp;and enabling our log module feature for automatic log ingest of container logs.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;Update installation with CSI driver included:
&lt;DIV&gt;
&lt;PRE class="hljs"&gt;&lt;CODE&gt;&lt;SPAN class="hljs-title"&gt;helm upgrade dynatrace-operator oci:&lt;/SPAN&gt;//docker.io/dynatrace/dynatrace-operator \`  
`--atomic \`  
`--csidriver.enabled=&lt;SPAN class="hljs-string"&gt;"true"&lt;/SPAN&gt; \ # By default CSI driver is enabled`  
`--namespace dynatrace&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;In your Dynakube, change &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.OneAgent.classicFullStack: {}&lt;/CODE&gt; to &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.OneAgent.cloudNativeFullStack: {}&lt;/CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 id="update-dynatrace-operator"&gt;Update Dynatrace Operator&lt;/H3&gt;
&lt;P&gt;Please &lt;A title="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/updates-and-maintenance/update-uninstall-operator" href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/deployment-and-configuration/updates-and-maintenance/update-uninstall-operator" target="_blank" rel="noopener"&gt;update Dynatrace Operator&lt;/A&gt; and follow the below steps for log monitoring on k8s with our log module. Check our latest version in &lt;A title="https://github.com/Dynatrace/dynatrace-operator/releases/latest" href="https://github.com/Dynatrace/dynatrace-operator/releases/latest" target="_blank" rel="noopener"&gt;Dynatrace Operator latest release&lt;/A&gt;.&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="maps-to-line"&gt;
&lt;P&gt;Below command is only to update the Dynatrace Operator&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;with CSI driver&lt;/STRONG&gt;:&lt;BR /&gt;&lt;CODE class="inline-code"&gt;kubectl apply -f &lt;A href="https://github.com/Dynatrace/dynatrace-operator/releases/download/v1.7.0/kubernetes-csi.yaml" target="_blank" rel="noopener"&gt;https://github.com/Dynatrace/dynatrace-operator/releases/download/v1.7.0/kubernetes-csi.yaml&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="maps-to-line"&gt;
&lt;P&gt;Below command is only to update the Dynatrace Operator&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;without CSI driver&lt;/STRONG&gt;:&lt;BR /&gt;&lt;CODE class="inline-code"&gt;kubectl apply -f &lt;A href="https://github.com/Dynatrace/dynatrace-operator/releases/download/v1.7.0/kubernetes.yaml" target="_blank" rel="noopener"&gt;https://github.com/Dynatrace/dynatrace-operator/releases/download/v1.7.0/kubernetes.yaml&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Enabling &lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-logs-from-kubernetes" target="_blank" rel="noopener"&gt;Logs on k8s&lt;/A&gt;&lt;/H1&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Enable log module feature flag &lt;A&gt;Collect all Container Logs&lt;/A&gt; in cluster Settings &amp;gt; Log monitoring &amp;gt; Log module feature flags.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In your Dynakube, add &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.logMonitoring: {}&lt;/CODE&gt; , which Dynatrace Operator uses to create an unconditional log ingest rule in the cluster settings &amp;gt; Log monitoring &amp;gt; Log ingest rules.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;You may set granular ingest rules with &lt;A title="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-parameters#log-monitoring-ingest-rule-matchers" href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-parameters#log-monitoring-ingest-rule-matchers" target="_blank" rel="noopener"&gt;Dynakube parameter&lt;/A&gt; &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.logMonitoring.ingestRuleMatchers&lt;/CODE&gt;, which only supports storage include rules with k8s matchers.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;You may override the Dynatrace Operator created log ingest rule(s) with your own &lt;A title="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#log-ingest-rule" href="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#log-ingest-rule" target="_blank" rel="noopener"&gt;log ingest rules&lt;/A&gt; in Dynatrace at the cluster scope or a scope closer to the node, like in host settings. We recommend matchers for k8s, content or level attributes in Log ingest rule settings in Dynatrace. &lt;A title="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#example-exclude" href="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#example-exclude" target="_blank" rel="noopener"&gt;Storage exclude rules&lt;/A&gt; are also supported for more granular control of ingest, for example, exclude from storage, logs containing &lt;A title="https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#log-severity" href="https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#log-severity" target="_blank" rel="noopener"&gt;supported severity keywords&lt;/A&gt; like &lt;STRONG&gt;trace&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In your Dynakube, change &lt;CODE class="inline-code" spellcheck="false"&gt;apiVerson&lt;/CODE&gt; to &lt;CODE class="inline-code" spellcheck="false"&gt;v1beta5&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Steps 4.1 and 4.2 are mutually exclusive; complete one step but not both. Dynatrace Operator will not deploy our logMonitoring workload on clusters with our OneAgent workload in mode Cloud Native Fullstack, because Fullstack OneAgents include LogAnalytics for log monitoring.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Required only for Logs on k8s with&lt;/STRONG&gt; &lt;STRONG&gt;&lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/applicationMonitoring.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/applicationMonitoring.yaml" target="_blank" rel="noopener"&gt;App-only&lt;/A&gt;&lt;/STRONG&gt; &lt;STRONG&gt;or&lt;/STRONG&gt; &lt;STRONG&gt;&lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/logMonitoring.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/logMonitoring.yaml" target="_blank" rel="noopener"&gt;Standalone&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;In your Dynakube, add &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.templates.logMonitoring&lt;/CODE&gt; with imageRef params.&lt;BR /&gt;&lt;EM&gt;Check our latest logMonitoring image in &lt;A title="https://gallery.ecr.aws/dynatrace/dynatrace-logmodule" href="https://gallery.ecr.aws/dynatrace/dynatrace-logmodule" target="_blank" rel="noopener"&gt;ECR Public Gallery&lt;/A&gt;. We recommend deploying one of the most recent versioned images, like 1.321 as of September 2025. &lt;CODE class="inline-code" spellcheck="false"&gt;latest&lt;/CODE&gt; is not currently an existing tag for our official logMonitoring images stored in public repositories.&lt;/EM&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE class="hljs"&gt;&lt;CODE&gt;&lt;SPAN class="hljs-symbol"&gt;  templates:&lt;/SPAN&gt;
&lt;SPAN class="hljs-symbol"&gt;    logMonitoring:&lt;/SPAN&gt;
&lt;SPAN class="hljs-symbol"&gt;      imageRef:&lt;/SPAN&gt;
&lt;SPAN class="hljs-symbol"&gt;        repository:&lt;/SPAN&gt; public.ecr.aws&lt;SPAN class="hljs-keyword"&gt;/dynatrace/&lt;/SPAN&gt;dynatrace-logmodule
&lt;SPAN class="hljs-symbol"&gt;        tag:&lt;/SPAN&gt; &lt;SPAN class="hljs-number"&gt;1.319&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.83&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;.20250909&lt;/SPAN&gt;&lt;SPAN class="hljs-number"&gt;-095914&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Logs on k8s with&lt;/STRONG&gt; &lt;STRONG&gt;&lt;A title="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/cloudNativeFullStack.yaml" href="https://github.com/Dynatrace/dynatrace-operator/blob/main/assets/samples/dynakube/v1beta5/cloudNativeFullStack.yaml" target="_blank" rel="noopener"&gt;Cloud Native Fullstack OneAgent&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;A title="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-update" href="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-update" target="_blank" rel="noopener"&gt;Update OneAgent&lt;/A&gt;. We recommend one of the &lt;A title="https://docs.dynatrace.com/docs/shortlink/release-notes-oneagent" href="https://docs.dynatrace.com/docs/shortlink/release-notes-oneagent" target="_blank" rel="noopener"&gt;two latest releases&lt;/A&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Check that Dynakube feature flag &lt;CODE class="inline-code" spellcheck="false"&gt;feature.dynatrace.com/automatic-kubernetes-api-monitoring&lt;/CODE&gt; was not set to false.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Check that &lt;CODE class="inline-code" spellcheck="false"&gt;kubernetes-monitoring&lt;/CODE&gt; was added to the &lt;A title="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-parameters#active-gate" href="https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-parameters#active-gate" target="_blank" rel="noopener"&gt;list of ActiveGate capabilities&lt;/A&gt; in &lt;CODE class="inline-code" spellcheck="false"&gt;.spec.activeGate.capabilities&lt;/CODE&gt; of your Dynakube.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="resolution"&gt;Resolution&lt;/H1&gt;
&lt;P&gt;In Dynatrace, we should see logs attached on the monitored k8s entity pages in the Kubernetes app and we can also filter logs by any of these fields in &lt;A title="https://docs.dynatrace.com/docs/shortlink/dql-dynatrace-query-language-hub" href="https://docs.dynatrace.com/docs/shortlink/dql-dynatrace-query-language-hub" target="_blank" rel="noopener"&gt;DQL&lt;/A&gt; (Grail) or &lt;A title="https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/analyze-log-data/log-viewer#sql" href="https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/analyze-log-data/log-viewer#sql" target="_blank" rel="noopener"&gt;DSQL&lt;/A&gt; (Logs classic).&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="https://docs.dynatrace.com/docs/shortlink/openpipeline-limits#entity-related-fields" href="https://docs.dynatrace.com/docs/shortlink/openpipeline-limits#entity-related-fields" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/openpipeline-limits#entity-related-fields&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A title="https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#autoattributes" href="https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#autoattributes" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/lma-log-data-transformation-oa#autoattributes&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Field log.source is set to &lt;STRONG&gt;Container Output&lt;/STRONG&gt;. Field &lt;STRONG&gt;dt.source_entity&lt;/STRONG&gt;&amp;nbsp;is set to the containerized process(es) that output the logs to the pod's stdout/err streams. If the process details are unavailable, available entity ids like the cloud application instance of the pod entity page may be used to set the &lt;STRONG&gt;dt.source_entity&lt;/STRONG&gt; field.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Logs in context of a k8s cluster monitored on a Dynatrace Demo environment." style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30034i8F52CE48AEF488E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="jgrant_0-1757615366367.png" alt="Logs in context of a k8s cluster monitored on a Dynatrace Demo environment." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Logs in context of a k8s cluster monitored on a Dynatrace Demo environment.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 id="whats-next"&gt;What's next&lt;/H1&gt;
&lt;P&gt;If you encounter any unexpected behavior with the deployment change or missing log ingest, please &lt;A title="https://docs.dynatrace.com/docs/shortlink/installation-k8s-troubleshooting#support-archive" href="https://docs.dynatrace.com/docs/shortlink/installation-k8s-troubleshooting#support-archive" target="_blank" rel="noopener"&gt;collect the Dynatrace Operator archive&lt;/A&gt;, write a description of your issue with results of above steps and link the cluster in your Dynatrace environment on a &lt;A title="https://one.dynatrace.com" href="https://one.dynatrace.com" target="_blank" rel="noopener"&gt;support ticket&lt;/A&gt;&amp;nbsp;with Dynatrace Support.&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE class="hljs"&gt;&lt;CODE&gt;kubectl exec -n dynatrace deployment/dynatrace-&lt;SPAN class="hljs-keyword"&gt;operator&lt;/SPAN&gt; -- dynatrace-&lt;SPAN class="hljs-keyword"&gt;operator&lt;/SPAN&gt; support-archive --stdout &amp;gt; &lt;SPAN class="hljs-keyword"&gt;operator&lt;/SPAN&gt;-support-archive.zip&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A &lt;A title="https://docs.dynatrace.com/docs/shortlink/share-documents#document-share-link" href="https://docs.dynatrace.com/docs/shortlink/share-documents#document-share-link" target="_blank" rel="noopener"&gt;notebook share access link&lt;/A&gt;&amp;nbsp;with edit permissions showing the query used can also help Dynatrace Support verify provided your issue description and start our investigation.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Sep 2025 06:39:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/ta-p/285827</guid>
      <dc:creator>jgrant</dc:creator>
      <dc:date>2025-09-12T06:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logs Ingest on K8s with Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/285840#M979</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/54714"&gt;@jgrant&lt;/a&gt;&amp;nbsp;thanks for the post - This is the closest thing to a document that has been created for this, it was fun figuring it out without this.&lt;BR /&gt;Would be good to see this actually documented in the official documents.&lt;BR /&gt;Current documentation leaves allot to be desired.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I do have one concern about the log module - I can't be bothered raising yet another Enhancement Request.&lt;BR /&gt;Logs ingested via the logs module has a different base tag for Kubernetes clusters compared to existing events and log ingestion from the active gate.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Active Gate Kubernetes events and logs use :&amp;nbsp; dt.kuberenetes.cluster.name&amp;nbsp;&lt;BR /&gt;Log Module logs use :&amp;nbsp; k8s.cluster.name&lt;BR /&gt;&lt;BR /&gt;This means that looking at k8s logs and k8s events can't be done in the same query and makes investigating issues painful due to the filtering.&amp;nbsp;&lt;BR /&gt;when investigating issues in k8s, it is important to see both the cluster, namespace, workload level events in direct comparison with the application logs.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 23:46:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/285840#M979</guid>
      <dc:creator>gopher</dc:creator>
      <dc:date>2025-09-11T23:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Logs Ingest on K8s with Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/287632#M998</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/10565"&gt;@gopher&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for sharing your feedback, which I shared with our product team for Logs.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 16:43:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/287632#M998</guid>
      <dc:creator>jgrant</dc:creator>
      <dc:date>2025-10-10T16:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Logs Ingest on K8s with Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/291726#M1032</link>
      <description>&lt;P&gt;How do I validate that&amp;nbsp;.spec.logMonitoring: {} has been picked up correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an on-going issue with log ingestion and wondering if it is the ommitting of this causing the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 14:44:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/291726#M1032</guid>
      <dc:creator>mattcanty</dc:creator>
      <dc:date>2025-12-17T14:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logs Ingest on K8s with Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/291728#M1033</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/97927"&gt;@mattcanty&lt;/a&gt;&amp;nbsp; can you decribe what issues you have with log monitoring and what deployment do you have?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 14:46:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/291728#M1033</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-12-17T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Logs Ingest on K8s with Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/291733#M1034</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Inconsistent-Logs-Dynatrace-Managed/m-p/291699#M4612" target="_blank"&gt;https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Inconsistent-Logs-Dynatrace-Managed/m-p/291699#M4612&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 15:09:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Logs-Ingest-on-K8s-with-Dynatrace/tac-p/291733#M1034</guid>
      <dc:creator>mattcanty</dc:creator>
      <dc:date>2025-12-17T15:09:07Z</dc:date>
    </item>
  </channel>
</rss>

