gforcada / haproxy_log_analysis

HAProxy log analyzer
https://pypi.org/project/haproxy_log_analysis
GNU General Public License v3.0
88 stars 35 forks source link

feat(line): only get first IP #49

Closed gforcada closed 1 year ago

gforcada commented 1 year ago

If one enables the X-Forwarded-For header, all servers that see this header append the IP of their incoming connection..

Usually this intermediate servers are not interesting, only the out most one is.

coveralls commented 1 year ago

Coverage Status

Coverage remained the same at 100.0% when pulling bdbe3873852f9a4d143bcabe17aa6dc99e429a44 on only-first-ip into c5012aa82802b93bf13491d6dd98f66dae3bba8d on master.