[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[[["\u003cp\u003eThis documentation is for Apigee hybrid version 1.8, which is end-of-life, and users should upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eApigee hybrid logs can be viewed through the Logs Explorer in the Google Cloud console or directly using the \u003ccode\u003ekubectl logs\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eOn GKE and GKE on-prem, logging is default and must be disabled in the overrides file if not needed, whereas on AKS, logging must be enabled in the overrides file.\u003c/p\u003e\n"],["\u003cp\u003eTo view logs in the Logs Explorer, select "Kubernetes Container," your cluster name, and your namespace ID in the Resource type dropdown.\u003c/p\u003e\n"],["\u003cp\u003eLogs written to each pod's filesystem can be directly accessed using the \u003ccode\u003ekubectl logs pod_name -n namespace\u003c/code\u003e command.\u003c/p\u003e\n"]]],[],null,["# View logs\n\n| You are currently viewing version 1.8 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\n\nThis topic explains how to\n[view log data](/logging/docs/view/logs-explorer-interface) by\nusing the Logs Explorer in the Google Cloud console or by using the\n`kubectl logs` command.\n| **Note:** Ingress logs are managed through Anthos Service Mesh (ASM). To view access logs, refer to [Accessing\n| logs in Cloud Logging](/service-mesh/v1.12/docs/observability/accessing-logs) in the ASM documentation.\n\nView logs in the Logs Explorer\n------------------------------\n\n\nThis section explains how to view Apigee hybrid logs in the Logs Explorer or directly by using\n`kubectl`.\n| Logging is provided by default on GKE and GKE on-prem. On these platforms, be sure that you have disabled logging in your overrides file by setting `logger.enabled` to `false`. On AKS, you must explicitly enable logging by setting `logger.enabled` to `true` in your overrides file.\n\nIf you are on GKE or Anthos GKE, logs are automatically sent to\n[Cloud Logging](https://cloud.google.com/monitoring/kubernetes-engine/).\n\n**To view logs in the Logs Explorer:**\n\n1. In the Google Cloud console, go to the **Logs Explorer** page.\n\n [Go to the Logs Explorer](https://console.cloud.google.com/logs/query)\n2. In the **Resource type** drop-down list, select\n **Kubernetes Container**, the\n name of your cluster, and your namespace ID.\n\n For more information, see\n [View\n logs](https://cloud.google.com/logging/docs/view/overview) in the Google Cloud console documentation.\n\nThe following example shows hybrid log output in the Logs Explorer:\n\nView log files directly\n-----------------------\n\nYou can view the logs that are written to each pod's filesystem\ndirectly using [`kubectl`](https://kubernetes.io/docs/reference/kubectl/overview/), as follows: \n\n```\nkubectl logs pod_name -n namespace\n```\n\nFor example: \n\n```text\nkubectl logs apigee-mp-hybrid-docs-test-blue-6fb96f5b9-2k8hp -n my-namespace\n```"]]