Forum Discussion
Algebraic_Mirror
Cirrostratus
Apr 09, 2018How can I get the X-Forwarded-For IP to show up in APM Reports?
What is the best way to get the X-Forwarded-For address of a client to show up in APM reports? For example, in v13.1, if you go to Access -> Overview -> Reports, and choose a 1 hour time period, it s...
youssef1
Cumulonimbus
Apr 10, 2018Hello,
First of insert X-Forwarder for in your Front Reverse Proxy.
Then add the following Irule in your VS that host your apm policy:
when HTTP_REQUEST {
if {[HTTP::header exists X-Forwarded-For]}{
set userip [HTTP::header X-Forwarded-For]
ACCESS::session data set session.user.clientip $userip
}
}
I don't test this irule, let me now if it's work for your. Regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects