En la lista desplegable de tipo de recurso, selecciona GKE Container (Contenedor de GKE), el nombre del clúster y el ID de espacio de nombres. Por ejemplo:
Para obtener más información, consulta Visualiza los registros en la documentación de Google Cloud.
En el siguiente ejemplo, se muestra un resultado de registro híbrido en el visor de registros:
Visualiza los archivos de registro directamente
Puedes ver los registros que se escriben en el sistema de archivos de cada pod directamente mediante kubectl, de la siguiente manera:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-03-12 (UTC)"],[[["This documentation covers viewing Apigee hybrid logs using Stackdriver and the `kubectl logs` command."],["Ingress logs are handled through Anthos Service Mesh (ASM), and you can find instructions on accessing these logs in the ASM documentation."],["Logging is enabled by default on GKE and GKE on-prem; ensure logging is disabled in your overrides file on these platforms by setting `logger.enabled` to `false`, or you need to manually enable logging on AKS by setting `logger.enabled` to `true` in your overrides file."],["Logs are automatically sent to Stackdriver on GKE or Anthos GKE, and you can view them in the Monitoring Logs Viewer by selecting the GKE Container, cluster name, and namespace ID."],["You can also view logs written to each pod's filesystem directly using the `kubectl logs pod_name -n namespace` command."]]],[]]