apache-mod_log_gelf icon indicating copy to clipboard operation
apache-mod_log_gelf copied to clipboard

Load Balancer

Open nanoak opened this issue 3 years ago • 1 comments

My apache servers are behind a load balancer (AWS ElasticLoadBalancer), and mod_log_gelf is only sending load balancer local IP, instead of the client remote IP. Is there any configuration for this?

nanoak avatar Jul 20 '21 08:07 nanoak

if your LB stores the client remote in X-Forwarded-For header, you can extract it as a header field, as shown in the doc

Aethalides avatar Dec 14 '21 15:12 Aethalides