Cuando habilitas el reenvío de proxy HTTP, creas un punto único a través del cual varias máquinas envían solicitudes a un servidor externo. Para los registros, es posible que no desees que todo el tráfico se reenvíe a través del proxy.
En este procedimiento, se explica cómo inhabilitar el reenvío del proxy HTTP para hosts específicos en el archivo de anulación.
Procedimiento
Para inhabilitar el reenvío de proxy para el registro de hosts específicos, configura la propiedad logger.EnvVars en overrides.yaml:
[[["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-09-04 (UTC)"],[[["\u003cp\u003eThis document describes how to disable HTTP proxy forwarding for specific hosts when logging in Apigee hybrid version 1.11.\u003c/p\u003e\n"],["\u003cp\u003eTo disable proxy forwarding for certain hosts, modify the \u003ccode\u003elogger.envVars\u003c/code\u003e property in the \u003ccode\u003eoverrides.yaml\u003c/code\u003e file, using the \u003ccode\u003eNO_PROXY\u003c/code\u003e environment variable.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNO_PROXY\u003c/code\u003e variable should contain a comma-separated list of hosts for which proxy forwarding should be disabled, as defined in Fluent Bit documentation.\u003c/p\u003e\n"],["\u003cp\u003eAfter updating the \u003ccode\u003eoverrides.yaml\u003c/code\u003e file, apply the changes to the logger using the command \u003ccode\u003eapigeectl apply --telemetry -f overrides.yaml\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Logging with HTTP proxy forwarding enabled\n\n| You are currently viewing version 1.11 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\nLogging when HTTP proxy forwarding is enabled\n---------------------------------------------\n\n\nWhen you enable HTTP proxy forwarding, you create a single point through which multiple machines\nsend requests to an external server. For logging, you may not want to have all traffic forwarded\nthrough the proxy.\n\n\nThis procedure explains how to disable HTTP proxy forwarding for specific hosts in your\noverrides file.\n\n### Procedure\n\n1. Disable proxy forwarding for logging for specific hosts by setting the [`logger.envVars`](/apigee/docs/hybrid/v1.11/config-prop-ref#logger-envvars) property in `overrides.yaml`: \n\n ```\n logger:\n ...\n envVars:\n NO_PROXY: '\u003ccomma-separated-values\u003e'\n ```\n\n for example: \n\n ```\n envVars:\n NO_PROXY: 'kubernetes.default.svc,oauth2.googleapis.com,logging.googleapis.com'\n ```\n\n\n The `logger.envVars` property allows you to pass in environment variables\n supported by Fluent Bit. See\n [NO_PROXY](https://docs.fluentbit.io/manual/administration/http-proxy#no_proxy)\n in the Fluent Bit documentation.\n2. Apply the changes to logger with `apigeectl apply` with the `--telemetry` scope: \n\n ```\n apigeectl apply --telemetry -f overrides.yaml\n ```\n\n### See also\n\n- [`logger.envVars`](/apigee/docs/hybrid/v1.11/config-prop-ref#logger-envvars) in the Configuration properties reference.\n- [Configure forward proxying for API proxies](/apigee/docs/hybrid/v1.11/forward-proxy)."]]