You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support multiple header values in access log, header formatting, tracing, and rate limiting #13454
changed the title [-]Support multiple header values in access logging and header formatting[/-][+]Support multiple header values in access log, header formatting, and rate limiting[/+]on Oct 8, 2020
changed the title [-]Support multiple header values in access log, header formatting, and rate limiting[/-][+]Support multiple header values in access log, header formatting, tracing, and rate limiting[/+]on Oct 8, 2020
@mattklein123 should we open an issue to track the longer-term API evolution here? Any thoughts on where we would go with that? To recap, the idea is that we're fixing the mechanics around accessing multiple header values in the CVE and here, but we would ideally have a more ergonomic API for writing matchers that operate on multiple distinct header values. CC @snowp as this might be effectively covered by the new matcher API anyway.
FWIW this issue is not about matching. All of the TODOs that reference this issue are mostly around output of multiple header values. I think we can track any remaining API issues separately?
@mattklein123@htuch I am new to Envoy and would like to take a stab at it, starting with the access log enhancement. My main question is how should the existing format strings handle backwards compatibility or should I spin up new format strings like REQUEST_HEADER_MULTI that will support logging in the situation where multiple headers of the same name are present ?
Activity
[-]Support multiple header values in access logging and header formatting[/-][+]Support multiple header values in access log, header formatting, and rate limiting[/+][-]Support multiple header values in access log, header formatting, and rate limiting[/-][+]Support multiple header values in access log, header formatting, tracing, and rate limiting[/+]htuch commentedon Oct 23, 2020
@mattklein123 should we open an issue to track the longer-term API evolution here? Any thoughts on where we would go with that? To recap, the idea is that we're fixing the mechanics around accessing multiple header values in the CVE and here, but we would ideally have a more ergonomic API for writing matchers that operate on multiple distinct header values. CC @snowp as this might be effectively covered by the new matcher API anyway.
mattklein123 commentedon Oct 23, 2020
FWIW this issue is not about matching. All of the TODOs that reference this issue are mostly around output of multiple header values. I think we can track any remaining API issues separately?
htuch commentedon Oct 25, 2020
Created #13751 to continue discussion there on the API issues.
support multiple header values (#19064)
akamathdev commentedon Apr 27, 2026
@mattklein123 @htuch I am new to Envoy and would like to take a stab at it, starting with the access log enhancement. My main question is how should the existing format strings handle backwards compatibility or should I spin up new format strings like
REQUEST_HEADER_MULTIthat will support logging in the situation where multiple headers of the same name are present ?ramaraochavali commentedon May 3, 2026
We could probably have a special notation like REQUEST_HEADER(*) to print all headers. @zuercher @wbpcode any suggestions?
@kyessenov does CEL support for this automatically?
ramaraochavali commentedon May 7, 2026
@wbpcode @zuercher any suggestions?
ramaraochavali commentedon May 8, 2026
per @kyessenov CEL does not support this today for headers
formatter: add REQ_ALL_HEADERS/RESP_ALL_HEADERS extension formatter (e…
formatter: add REQ_ALL_HEADERS/RESP_ALL_HEADERS extension formatter (e…
formatter: add REQ_ALL_HEADERS/RESP_ALL_HEADERS extension formatter (e…
formatter: add REQ_ALL_HEADERS/RESP_ALL_HEADERS extension formatter (e…
formatter: add REQ_ALL_HEADERS/RESP_ALL_HEADERS extension formatter (e…
formatter: add REQ_ALL_HEADERS/RESP_ALL_HEADERS extension formatter (e…
SubstitutionFormatUtils can log multiple occurrences of same header (#…