Most load balancers use something like X-Forwarded-For: http://en.wikipedia.org/wiki/X-Forwarded-For
You can specify it by setting the filter config value: " alternativeIpAddressHeader" https://github.com/dima767/inspektr/blob/master/inspektr-common/src/main/java/com/github/inspektr/common/web/ClientInfoThreadLocalFilter.java On Tue, May 7, 2013 at 11:32 AM, Adam Causey <[email protected]> wrote: > Does the alternative header value have to be setup on the load balancer in > order for the end user IP to be passed? I'm unsure how this would work. > > thanks, > Adam > > > On Mon, May 6, 2013 at 8:49 AM, Scott Battaglia <[email protected] > > wrote: > >> Inspektr should allow you to set a header to check instead of the >> request.getRemoteIpAddress. Sorry I don't have the configuration handy at >> work, but I believe its a filter config property. >> >> >> On Mon, May 6, 2013 at 8:46 AM, Adam Causey <[email protected]> wrote: >> >>> I have successfully setup inspektor, but it is only logging the load >>> balancer IP address when a user logs in. Is anyone using the auditing >>> mechanism (Inspektor or other) that also has a load balanced server setup? >>> Is there a way to log the end user's IP address rather than the load >>> balancer address? >>> >>> >>> Thanks for any suggestions. >>> >>> >>> - Adam >>> >>> -- >>> You are currently subscribed to [email protected] as: >>> [email protected] >>> >>> >>> >>> >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>> >>> >> -- >> You are currently subscribed to [email protected] as: [email protected] >> >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> > -- > You are currently subscribed to [email protected] as: > [email protected] > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
