> [!CAUTION]
> You are currently viewing version 1.15 of the Apigee hybrid documentation. For more information, see [Supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions).

<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.15 </button>

- Supported versions:
- [v1.17 (latest)](https://docs.cloud.google.com/apigee/docs/hybrid/v1.17/logging-view.md.txt)
- [v1.16](https://docs.cloud.google.com/apigee/docs/hybrid/v1.16/logging-view.md.txt)
- [v1.15](https://docs.cloud.google.com/apigee/docs/hybrid/v1.15/logging-view.md.txt)
- [v1.14](https://docs.cloud.google.com/apigee/docs/hybrid/v1.14/logging-view.md.txt)
- [List of supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions)
- Unsupported versions:
- [v1.13](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/logging-view.md.txt)
- [v1.12](https://docs.cloud.google.com/apigee/docs/hybrid/v1.12/logging-view.md.txt)
- [v1.11](https://docs.cloud.google.com/apigee/docs/hybrid/v1.11/logging-view.md.txt)
- [v1.10](https://docs.cloud.google.com/apigee/docs/hybrid/v1.10/logging-view.md.txt)
- [v1.9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.9/logging-view.md.txt)
- [v1.8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/logging-view.md.txt)
- [v1.7](https://docs.cloud.google.com/apigee/docs/hybrid/v1.7/logging-view.md.txt)
- [v1.6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/logging-view.md.txt)
- [v1.5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.5/logging-view.md.txt)
- [v1.4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/logging-view.md.txt)
- [v1.3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/logging-view.md.txt)
- [v1.2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.2/logging-view.md.txt)
- [v1.1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/logging-view.md.txt)


This topic explains how to
[view log data](https://docs.cloud.google.com/logging/docs/view/logs-explorer-interface.md.txt) by
using the Logs Explorer in the Google Cloud console or by using the
`kubectl logs` command.

> [!NOTE]
> **Note:** Ingress logs are managed through Cloud Service Mesh. To view access logs, refer to [Accessing
> logs in Cloud Logging](https://docs.cloud.google.com/service-mesh/v1.12/docs/observability/accessing-logs) in the Cloud Service Mesh documentation.

## View logs in the Logs Explorer


This section explains how to view Apigee hybrid logs in the Logs Explorer or directly by using
`kubectl`.

> [!NOTE]
> 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.

If you are on GKE on Google Cloud or on-premises as part of Google Distributed Cloud, logs are automatically sent to
[Cloud Logging](https://docs.cloud.google.com/monitoring/kubernetes-engine).

**To view logs in the Logs Explorer:**

1. In the Google Cloud console, go to the **Logs Explorer** page.

   [Go to the Logs Explorer](https://console.cloud.google.com/logs/query)
2. In the **Resource type** drop-down list, select
   **Kubernetes Container**, the
   name of your cluster, and your namespace ID.

   For more information, see
   [View
   logs](https://docs.cloud.google.com/logging/docs/view/overview) in the Google Cloud console documentation.

The following example shows hybrid log output in the Logs Explorer:

![](https://docs.cloud.google.com/static/apigee/docs/hybrid/v1.15/images/logging-explorer-k8s-container.png)

## View log files directly

You can view the logs that are written to each pod's filesystem
directly using [`kubectl`](https://kubernetes.io/docs/reference/kubectl/overview/), as follows:

```
kubectl logs pod_name -n namespace
```

For example:

```
kubectl logs apigee-mp-hybrid-docs-test-blue-6fb96f5b9-2k8hp -n my-namespace
```