Thanks
I was not looking at the proper documentation.

El mar., 3 mar. 2020 a las 17:33, Tim Düsterhus (<[email protected]>) escribió:
>
> Pepe,
>
> Am 03.03.20 um 17:28 schrieb Pepe Charli:
> > In "mode tcp", Is it possible to log the IP and port from haproxy to
> > server (haproxyIP and haproxPort)?
> >
> > clientIP:ClientPort- > frontendIP:frontendPort
> > haproxyIP:haproxyPort -> serverIP:serverPort
> >       %ci:%cp                  %fi:%fp
> >          %??:%??                  %si:%sp
> >
>
> This should be possible with %bi and %bp:
>
> >   |   | %bi  | backend_source_ip       (connecting address)  | IP          |
> >   |   | %bp  | backend_source_port     (connecting address)  | numeric     |
> (from http://cbonte.github.io/haproxy-dconv/2.1/configuration.html#8.2.4)
>
> Best regards
> Tim Düsterhus

Reply via email to