CA API Gateway: Track request source IP

Document ID : KB000112554
Last Modified Date : 30/08/2018
Show Technical Document Details
How can the source IP of a request be tracking when the Gateway is fronted by a load balancer? 
To track the request source in this scenario it is best to enable the X-Forwarded-For header on your load balancer.
This will then be exposed to the gateway via the built-in context variable $(request.http.header.X-Forwarded-For}.