Supported versions:
Unsupported versions:
This topic explains how to view log data on
Stackdriver and using the kubectl logs
command.
This section explains how to view Apigee hybrid logs on Stackdriver and directly using
kubectl.
If you are on GKE or Anthos GKE, logs are automatically sent to Stackdriver.
To view logs on Stackdriver:

For more information, see Viewing logs in the GCP documentation.
The following example shows hybrid log output in the Log viewer:

You can view the logs that are written to each pod's filesystem
directly using kubectl, as follows:
kubectl logs pod_name -n namespace
For example:
kubectl logs apigee-mp-hybrid-docs-test-blue-6fb96f5b9-2k8hp -n my-namespace
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-23 UTC.