HAProxy Enterprise provides functions called fetch methods or fetches that you can use to extract information from the traffic as it passes through. For example, you can collect the client's IP address, the value of an HTTP cookie, or a counter from a stick table to use for logging, routing, or denying requests.
Use fetches to extract information
Fetch directives syntax and use
- Fetch Reference
Fetch directives configuration manual reference