Send feedback
Logging with HTTP proxy forwarding enabled
Stay organized with collections
Save and categorize content based on your preferences.
You are currently viewing version 1.11 of the
Apigee hybrid documentation. For more information, see
Supported versions .
Version 1.11 keyboard_arrow_down
Logging when HTTP proxy forwarding is enabled
When you enable HTTP proxy forwarding, you create a single point through which multiple machines
send requests to an external server. For logging, you may not want to have all traffic forwarded
through the proxy.
This procedure explains how to disable HTTP proxy forwarding for specific hosts in your
overrides file.
Procedure
Disable proxy forwarding for logging for specific hosts by setting the
logger.EnvVars
property in overrides.yaml
:
logger:
...
EnvVars:
NO_PROXY: '<comma-separated-values> '
for example:
EnvVars:
NO_PROXY: 'kubernetes.default.svc,oauth2.googleapis.com,logging.googleapis.com'
The logger.EnvVars
property allows you to pass in environment variables
supported by Fluent Bit. See
NO_PROXY
in the Fluent Bit documentation.
Apply the changes to logger with apigeectl apply
with the
--telemetry
scope:
apigeectl apply --telemetry -f overrides.yaml
See also
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-26 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-26 UTC."}
[[["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 2024-09-26 UTC."]]