Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to view (GKE) Kubernetes pod(workload) logs


We have Installed the oneagent operator on the GKE clusters and can view all the nodes and the workloads running on them but not sure where to find the logs for the pods.
If we check under the logs section on the left side bar it does not have any data. 

From what I have read so far, the documentation says that logs are automatically captured out of the box and no additional configuration is required, is that correct for Kubernetes(GKE) as well?

we have made sure that automatic log capture is enabled globally under settings.
we used the shell script from the releases page on github to deploy the operator


DynaMight Legend
DynaMight Legend

That's what I understand. Dynatrace detects all logs out of the box, assuming you have log monitoring enabled. 

You should be able to check out the Node (Host) and see the applicable logs at that level. Additionally, you can select your Pod (Process) and see the applicable logs as well. If you dont see the log that you desire, you can always define it out at not extra cost. Here is a link on how to do that: 


Dynatrace Helper
Dynatrace Helper

@ashwin it should work out of the box when you deploy OneAgent. For GKE there is an alternative way available. You can use the GCP monitoring, create a Sink and forward logs to Dynatrace:


Featured Posts