我要使用HAProxy自定义日志记录这样的内容:
“ server-01 --- HTTP / v1 --- GET --- 200 --- AAA.com-/ site”
“服务器01 --- HTTP / v1 --- POST --- 500 --- BBB.com-/ home”
但是我找不到有关请求域(AAA.com/BBB.com)的变量。
参考: https://www.haproxy.com/documentation/aloha/10-0/traffic-management/lb-layer7/log-format-rules/