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

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, none and count of each but when I run the query for offline pods, actual logs aren’t showing up.

Hello, @Sisapy09!

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

Thank you for any feedback!