# How do I ingest K8s logs?

**URL:** <https://community.dynatrace.com/t/how-do-i-ingest-k8s-logs/37154>\
**Category:** Container platforms\
**Tags:** aws, log-monitoring-class, kubernetes\
**Created:** [November 4, 2022, 4:39pm UTC](https://community.dynatrace.com/t/how-do-i-ingest-k8s-logs/37154 "2022-11-04T16:39:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdevelek](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@gdevelek](https://community.dynatrace.com/u/gdevelek)\
**Post date:** [November 4, 2022, 4:39pm UTC](https://community.dynatrace.com/t/how-do-i-ingest-k8s-logs/37154/1 "2022-11-04T16:39:29Z")

</div>

In a Dynatrace trial, I have connected DT to my AWS EKS clusters and can see all services, but no logs at all. I have OneAgent and DT operator with ActiveGate installed, in “log storage configuration” I have&nbsp; included logs for the main K8s namespaces, I have enabled OneAgent logs, but still nothing. Do I need to define a processing rule under “log processing”? My pods generate logs in JSON format.

Please cut me some slack, I only started messing with DT today… 🙂

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [November 4, 2022, 9:21pm UTC](https://community.dynatrace.com/t/how-do-i-ingest-k8s-logs/37154/2 "2022-11-04T21:21:46Z")

</div>

Hi&nbsp;[@gdevelek](https://community.dynatrace.com/user/56609),

Could you please check this documenatation about the&nbsp;prerequisites and limitations?

[Log Monitoring in Kubernetes | Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-monitoring/acquire-log-data/log-monitoring-kubernetes)

**"Note:** &nbsp;Only the classic full-stack and cloud-native full-stack injections are supported. For details, see&nbsp;[Deployment options on Kubernetes/OpenShift](https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-container-platforms/kubernetes/get-started-with-kubernetes-monitoring/deployment-options-k8s)."

+ If I were you I would switch on the log monitoring v2.

[Switch to latest Log Monitoring | Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-monitoring/log-monitoring-configuration/log-monitoring-switch)

I hope it helps.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![gdevelek](https://avatars.discourse-cdn.com/v4/letter/g/46a35a/32.png) [@gdevelek](https://community.dynatrace.com/u/gdevelek)\
**Post date:** [November 4, 2022, 10:09pm UTC](https://community.dynatrace.com/t/how-do-i-ingest-k8s-logs/37154/3 "2022-11-04T22:09:00Z")

</div>

Thanks for taking the time to respond.

I’m using the “classic full-stack”, and I’m already in v2 log monitoring.

Can you push me the extra yard?

The docs need some work, to be honest. After hours of docs, I came here.

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [November 5, 2022, 8:13am UTC](https://community.dynatrace.com/t/how-do-i-ingest-k8s-logs/37154/4 "2022-11-05T08:13:31Z")

</div>

Hi&nbsp;[@gdevelek](https://community.dynatrace.com/user/56609),

I guess you have already checked this setting also:

 ![Mizs_0-1667633740081.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5bb1cabb20f40e56ef8b1164056a22d343e5fd16.jpeg)

To be honest I have not had to do any extra configuration in my tenants to ingest the OPC and OKD application logs into DT (in the onpremis clustres not in AWS).

Maybe it could help:

[Set up AWS log forwarding | Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/infrastructure-monitoring/cloud-platform-monitoring/amazon-web-services-monitoring/aws-log-forwarder)

Many times I forgot to save the log source selection… 😉

 ![Mizs_0-1667634827918.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/a/8aadba7be2651f1d6b8e841b05219646a8a7c35a.png)

BTW I do not konw any limitation in the trial licence.

I hope other community members have another ideas for you…

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![moin\_DT1](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@moin\_DT1](https://community.dynatrace.com/u/moin_DT1)\
**Post date:** [February 28, 2025, 5:06pm UTC](https://community.dynatrace.com/t/how-do-i-ingest-k8s-logs/37154/5 "2025-02-28T17:06:12Z")

</div>

Hi,

Maybe this helps?

 ![moin_DT1_0-1740762357958.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/6/b66641c94a14f0abde1b9f47343a2572d8649072.png)

Also dropping a link of another post for ingesting k8s logs.  
[https://community.dynatrace.com/t5/Videos/Ingest-K8s-Logs-in-Dynatrace/m-p/251277](https://community.dynatrace.com/post/251277)

Regards,

Moin
