Hello
how can this value be put into the haproxy log
curl -X GET -I https://ss.ru
set-cookie: ssdkl = 24e35aec8d5143d8a42701c5368d0de6; Max-Age = 2147483647; Expires = Thu, 21-Apr-2089 13:40:25 GMT;
set-cookie: ssdmb = 7ab31bb95b0c4e1fb71d7e21c12667eb; Max-Age = 2147483647; Expires = Thu
date: Sat, 03 Apr 2021 10:26:17 GMT
set-cookie: IBEID = m1-pl-25 | YGhCz; path = /
This value is required
set-cookie: IBEID = m1-pl-25 | YGhCz; path = /
I try to do this
http-request set-var (txn.cook_ibe_1) req.cook (IBEID)
http-response add-header ibe_id% [var (txn.cook_ibe_1)]
http-request capture req.hdr (ibe_id) len 100
log-format ‘{“ibe_id”:% {+ Q} [capture.req.hdr (0)]}’