I have a kong setup in AWS behind a public load balancer.
I am trying to log the client’s public IP in the kong logs.
I have enabled these values in the .kong_env file.
real_ip_recursive = on
real_ip_header = X-Forwarded-For
and in the log format, I am trying to log these two variables
remote_addr and realip_remote_addr
but in the logs, both the variables are printing the private IP of the load balancer instead of the public IP of the client