Enable Webtier to log the X-FORWARDER-FOR Header in the access logs
Last Modified: 2023-10-06
Article Number
Applies To
|
Issue
This causes multiple problems with customer who sends logs to Splunk as they will always get that the web tier has been accessed by the load balancer IP not the true IP of the device.
Resolution
2- Go to the webtier folder then go to this directory either on a Linux webtier or a windows webtier
---> server ---> config --> config.xml
3- Look for the line in config.xml that contains:
<elf-fields>c-ip date time time-taken cs-method cs-uri sc-status bytes</elf-fields>
4- Change it to:
<elf-fields>cs(X-Forwarded-For) c-ip date time time-taken cs-method cs-uri sc-status bytes</elf-fields>
When you go to the logs directory and then check the access_logs, you will find out that another column has been added that contains the true IP of the device that has accessed the load balancer.
Related Articles
Cloudflare - SAML My Page SSO Configuration - RSA Ready Implementation Guide 8Number of Views Manage the RSA Web-Tier Bootstrapper Server on Windows 69Number of Views RSA Identity Management and Governance SSLHandshakeException when using a custom Java workflow node on Red Hat Enterprise … 218Number of Views Add a Web-Tier Deployment Record 45Number of Views View Web-Tier Deployments 73Number of Views
Trending Articles
Don't see what you're looking for?