We are trying to get the Client IP's to get the workstation ID's. If we use Direct JVM URL's it works fine we are able to get correct IP from pxRequestor.pxReqRemoteAddr. But when we use F5 Load balancer URl we don't correct IP in pxRequestor.pxReqRemoteAddr.
We would like to know how pxRequestor.pxReqRemoteAddr is populated and what configuration is required to get the Client IP whether it is from Webserver OR App server OR Load balancer side.
***Edited by Moderator Marissa to update Content Type from Discussion to Question; change General to Product; update Product details***
You can try retrieving the value of X-Forwarded-For or Forwarded HTTP headers during authentication (it isn't available outside of authentication). However if any proxy between the user and the Pega app server doesn't set this properly you won't be able to identify the true source IP.
The headers aren't required, so you won't be able to assume that they always exist or contain accurate information if the users are coming from various origins that you don't control. Many proxies would strip this data as it passes through for security or privacy reasons.
There are some examples of fetching specific header values using a java step, for example: