How can I view the client IP in CloudHub 1.0 Mule app behind DLB without enabling DEBUG?
1. Add a 'Message Logging' policy to your Mule application API instance:
Message: #[attributes.headers['X-Real-IP']]
2. Apply the policy and check the application logs for the client IP.
[processor: 6977841-message-logging/source/processors/0/processors/0/processors/0;
event: 51617c70-6ba3-11f0-8b5c-0a103ff05548] org.mule.runtime.logging.policy-6977841: x.x.x.x
INFO 2025-07-28 16:39:26,349 [[MuleRuntime].uber.15:
[message-logging-mule-6977841-jthakur-test-main].6977841-message-logging.CPU_LITE @42336ebc]
[processor: 6977841-message-logging/source/processors/0/processors/0/processors/0;
event: 52eb29b0-6ba3-11f0-8b5c-0a103ff05548] org.mule.runtime.logging.policy-6977841: x.x.x.xDLB will send the following header to Mule apps, you can view it by enabling DEBUG or applying the Message Logging policy:
X-Real-IP:
X-Forwarded-For:005131267

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.