Forum Discussion
Jibinpv_254622
Nimbostratus
Jun 07, 2018Logging X-Forwarded ip address on ltm logs via irule.
Hi Team,
Im in a situation where have tried almost all the ways to log the X-forwarded ip address on the LTM logs ,well so far no success.
Have used the below irule - It is still picking the physical...
leonline_225556
Altostratus
Jun 07, 2018Hi Jibinpv,
You have used HTTP:Header which should be HTTP::header. So please use [HTTP::header X-Forwarded-For]
Try this iRule to get all the HTTP request headers in /var/log/ltm
when HTTP_REQUEST
{
log local0. "============================================="
foreach arrayHeaders [HTTP::header names]
{
log local0. "$arrayHeaders: [HTTP::header value $arrayHeaders]"
}
log local0. "============================================="
}
leonline_225556
Altostratus
Jun 07, 2018Hi Jibinpv,
Which version are you running? Are you using a standard vs with http profile enabled?
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