Hi Tim,

On 22/01/2018 19:29, Tim Düsterhus wrote:
> Hi
>
> what are the differences between variables and sample fetches? Some
> values can be retrieved using both. For example the src IP address can
> be retrieved using  both `%ci` as well as `%[src]`.
>
> One difference I noticed is that I don't think I am able to use
> converters (e.g. ipmask) for variables (e.g. %ci).
>
> Are there any other differences?
>
> Best regards
> Tim Düsterhus
>

The variables you are talking about are more precisely "log format
variables" that are only available for the logging part of HAProxy.
Sample fetches are used to extract data from traffic streams and use it
for content aware routing, stickiness,etc .

++

Moemen MHEDHBI



Reply via email to