El registro de acceso es una característica que se proporciona con la entrada de Istio. Si habilitas el registro de acceso, podrás obtener información sobre el tráfico que pasa a través de la puerta de enlace de entrada. El registro de acceso está inhabilitado de forma predeterminada.
Habilita el registro de acceso
Para habilitar el registro de acceso, agrega la siguiente estrofa a tu archivo de anulaciones:
...
ingress:
enableAccesslog: true
...
Visualiza los registros de acceso
Cuando el clúster está en ejecución, puedes ver los registros de acceso de la siguiente manera:
Obtén una lista de pods de Istio:
kubectl get pods -n istio-system
Visualiza los registros del pod istio-ingressgateway:
[[["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)"],[[["The Apigee hybrid documentation version 1.3 is end of life and should be upgraded to a newer version."],["Access logging, a feature of Istio ingress, provides information about traffic through the gateway but is disabled by default."],["Operational logging for all Apigee hybrid services is enabled by default and does not require any additional configuration."],["Access logging can be enabled by adding `enableAccesslog: true` under the `ingress` stanza in the overrides file."],["Access logs can be viewed by retrieving a list of istio pods and then viewing the logs for the `istio-ingressgateway` pod in the `istio-system` namespace, with the logs presented in JSON format."]]],[]]