# Can we view the logs of failed Pods in Azure Kubernetes Service?

**URL:** <https://community.dynatrace.com/t/can-we-view-the-logs-of-failed-pods-in-azure-kubernetes-service/53239>\
**Category:** Container platforms\
**Tags:** azure, kubernetes, logs\
**Created:** [September 4, 2025, 1:32pm UTC](https://community.dynatrace.com/t/can-we-view-the-logs-of-failed-pods-in-azure-kubernetes-service/53239 "2025-09-04T13:32:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sisapy09](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@Sisapy09](https://community.dynatrace.com/u/Sisapy09)\
**Post date:** [September 4, 2025, 1:32pm UTC](https://community.dynatrace.com/t/can-we-view-the-logs-of-failed-pods-in-azure-kubernetes-service/53239/1 "2025-09-04T13:32:30Z")

</div>

I noticed that if Pod runs for 4 days and fails, then we are not able to view the logs of failed (offline) pods. I changed the time and checking only. it was showing all the offline pods and also showing graphs with _error, warning, info, non_e and _count_ of each but when I run the query for offline pods, actual logs aren’t showing up.

 ![logs.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/1/f18d1f48ff2e123f6c77b0a5ee8cae5a417936e4.png)

---

<div class="post-metadata">

**Author:** ![MichalGebacki](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michalgebacki/32/41585_2.png) [@MichalGebacki](https://community.dynatrace.com/u/MichalGebacki)\
**Post date:** [December 16, 2025, 3:49pm UTC](https://community.dynatrace.com/t/can-we-view-the-logs-of-failed-pods-in-azure-kubernetes-service/53239/2 "2025-12-16T15:49:05Z")

</div>

Hello,&nbsp;[@Sisapy09](https://community.dynatrace.com/user/83727)!

Can you take a look at this Dynatrace Documentation page and let us know whether is it helping you in any way to solve your issue?

→ **[Azure Kubernetes Service (AKS) monitoring](https://docs.dynatrace.com/docs/ingest-from/microsoft-azure-services/azure-integrations/azure-aks/monitor-azure-kubernetes-service)**

Thank you for any feedback!
