AnsweredAssumed Answered

How to log IP-address of a system when the gateway is under load balancer

Question asked by madhaviputta on Apr 11, 2019
Latest reply on Apr 16, 2019 by Ronko

Hi,

 

This is Madhavi.
The clustered Gateway is under the load-balancer. Now i wanted to log the Ipaddress of the API requester(System IPaddress to know who is actually requesting the service). I tried to use the context variable ${request.tcp.remoteAddress}, but this is actually giving the load balancer IPaddress. In these case how can i get the IP of an requester.

If someone can help me out in these, it would be helpful to me

 

Thanks,
Madhavi Putta

Outcomes